From: Diane Trout Date: Tue, 12 May 2015 18:39:47 +0000 (-0700) Subject: recreate initial migration as strings instead of bytestrings X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=99322bad583ce9d82b168f7819d478e6f8168f83 recreate initial migration as strings instead of bytestrings --- diff --git a/experiments/migrations/0001_initial.py b/experiments/migrations/0001_initial.py index 13590de..e06682a 100644 --- a/experiments/migrations/0001_initial.py +++ b/experiments/migrations/0001_initial.py @@ -45,7 +45,7 @@ class Migration(migrations.Migration): ('run_start_time', models.DateTimeField()), ('cycle_start', models.IntegerField(null=True, blank=True)), ('cycle_stop', models.IntegerField(null=True, blank=True)), - ('run_status', models.IntegerField(blank=True, null=True, choices=[(0, b'Sequencer running'), (1, b'Data Pipeline Started'), (2, b'Data Pipeline Interrupted'), (3, b'Data Pipeline Finished'), (4, b'Collect Results Started'), (5, b'Collect Results Finished'), (6, b'QC Started'), (7, b'QC Finished'), (255, b'DONE')])), + ('run_status', models.IntegerField(blank=True, null=True, choices=[(0, 'Sequencer running'), (1, 'Data Pipeline Started'), (2, 'Data Pipeline Interrupted'), (3, 'Data Pipeline Finished'), (4, 'Collect Results Started'), (5, 'Collect Results Finished'), (6, 'QC Started'), (7, 'QC Finished'), (255, 'DONE')])), ('image_software', models.CharField(max_length=50)), ('image_version', models.CharField(max_length=50)), ('basecall_software', models.CharField(max_length=50)), @@ -79,7 +79,7 @@ class Migration(migrations.Migration): ('advanced_run', models.BooleanField(default=False)), ('paired_end', models.BooleanField(default=False)), ('read_length', models.IntegerField(default=32)), - ('control_lane', models.IntegerField(blank=True, null=True, choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7), (8, 8), (0, b'All Lanes')])), + ('control_lane', models.IntegerField(blank=True, null=True, choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7), (8, 8), (0, 'All Lanes')])), ('notes', models.TextField(blank=True)), ('cluster_station', models.ForeignKey(default=experiments.models.cluster_station_default, to='experiments.ClusterStation')), ], @@ -95,7 +95,7 @@ class Migration(migrations.Migration): ('lane_number', models.IntegerField()), ('pM', models.DecimalField(default=5, max_digits=5, decimal_places=2)), ('cluster_estimate', models.IntegerField(null=True, blank=True)), - ('status', models.IntegerField(blank=True, null=True, choices=[(0, b'Failed'), (1, b'Marginal'), (2, b'Good')])), + ('status', models.IntegerField(blank=True, null=True, choices=[(0, 'Failed'), (1, 'Marginal'), (2, 'Good'), (100, 'Not run')])), ('comment', models.TextField(null=True, blank=True)), ('flowcell', models.ForeignKey(to='experiments.FlowCell')), ('library', models.ForeignKey(to='samples.Library')), @@ -130,7 +130,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='datarun', name='flowcell', - field=models.ForeignKey(verbose_name=b'Flowcell Id', to='experiments.FlowCell'), + field=models.ForeignKey(verbose_name='Flowcell Id', to='experiments.FlowCell'), preserve_default=True, ), migrations.AddField(