You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sys.exit(f"Field '%s' in file '%s' with value '%s' does not match expected regex pattern '^%s[0-9]{1,32}$'"% (optional_file_field,input_file.get('name'),input_file.get(optional_file_field),EGA_FIELDS[optional_file_field]))
291
286
292
287
forrginmetadata.get("read_groups"):
293
-
rg.pop('type') # remove 'type' field
294
-
rg.pop('submitter_sequencing_experiment_id') # remove 'submitter_sequencing_experiment_id' field
288
+
if"type"inrg:
289
+
print(rg)
290
+
rg.pop('type') # remove 'type' field
291
+
if"submitter_sequencing_experiment_id"inrg:
292
+
rg.pop('submitter_sequencing_experiment_id') # remove 'submitter_sequencing_experiment_id' field
sys.exit(f"Incorrect formatting of : {args.extra_info_tsv}. {row_type} is missing")
378
-
379
-
row_type=row['type']
380
-
row_id=row['submitter_id']
381
-
row_field=row['submitter_field']
382
-
row_val=row['field_value']
383
-
384
-
if (row_type!="sample") and (row_type!="donor") and (row_type!="specimen") and (row_type!="files") and (row_type!="experiment"):
385
-
sys.exit(f"Incorrect identifier supplied. Must be on the following : 'sample','donor','specimen','files','experiments'. Offending value: {type}, in file: {args.extra_info_tsv}")
sys.exit(f"Incorrect formatting of : {args.extra_info_tsv}. {row_type} is missing")
384
+
385
+
row_type=row['type']
386
+
row_id=row['submitter_id']
387
+
row_field=row['submitter_field']
388
+
row_val=row['field_value']
389
+
390
+
if (row_type!="sample") and (row_type!="donor") and (row_type!="specimen") and (row_type!="files") and (row_type!="experiment"):
391
+
sys.exit(f"Incorrect identifier supplied. Must be on the following : 'sample','donor','specimen','files','experiments'. Offending value: {type}, in file: {args.extra_info_tsv}")
0 commit comments