Merge branch 'django1.7' of mus.cacr.caltech.edu:htsworkflow into django1.7
[htsworkflow.git] / htsworkflow / submission / aws_submission.py
index 06dbd601b0a1b6e52c7b5cec4a5109671755fd31..0b76b04d42d53e4b859bbde2004de66a90454825 100644 (file)
@@ -86,6 +86,8 @@ class AWSSubmission(Submission):
         for row in results:
             if 'platform' in row:
                 row['platform'] = platform_alias[row['platform']]
+            if 'read_length' in row:
+                row['read_length'] = int(row['read_length'])
             flowcell_details = {}
             for term in ['machine', 'flowcell', 'lane', 'barcode']:
                 if term in row: