Return read_length for file properties
[htsworkflow.git] / htsworkflow / submission / aws_submission.py
index f4cd5c0b755179f5de40443be27130aa1b137490..d6f3cdb9133a9f2815745b692b6fa1ceb34234e2 100644 (file)
@@ -106,6 +106,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: