Skip to content

Commit 85e22d3

Browse files
committed
tweak how and when xmls are made
1 parent 6e8ae2d commit 85e22d3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pipes/WDL/tasks/tasks_ncbi.wdl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1610,7 +1610,6 @@ task package_genbank_submissions {
16101610
with zipfile.ZipFile("~{spuid_base}_" + group + ".zip", 'w') as zf:
16111611
for fname in files_by_type[group]:
16121612
zf.write(fname)
1613-
write_submission_xml("~{spuid_base}_" + group, "~{spuid_namespace}", "~{account_name}", wizard="BankIt_api")
16141613
else:
16151614
# for special submissions, merge each individual file type
16161615
with open("sequences.fsa", 'wt') as out_fsa:
@@ -1645,9 +1644,10 @@ task package_genbank_submissions {
16451644
zf.write(fname)
16461645
if group.startswith('SARS-CoV-2'):
16471646
wizard = "BankIt_SARSCoV2_api"
1648-
else:
1649-
wizard = "BankIt_api"
1650-
write_submission_xml("~{spuid_base}_" + group, "~{spuid_namespace}", "~{account_name}", wizard=wizard)
1647+
write_submission_xml("~{spuid_base}_" + group, "~{spuid_namespace}", "~{account_name}", wizard=wizard)
1648+
elif group.startswith('Influenza'):
1649+
wizard = "BankIt_influenza_api"
1650+
write_submission_xml("~{spuid_base}_" + group, "~{spuid_namespace}", "~{account_name}", wizard=wizard)
16511651
CODE
16521652
>>>
16531653

0 commit comments

Comments
 (0)