Skip to content

Commit 595c6e8

Browse files
authored
V1.2.4 (#96)
* Fix Genbank Upload Log Bug * Fix missing set
1 parent 5e03359 commit 595c6e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
# Check the config file
2222
def get_config(config_file: str, databases: List[str]) -> Dict[str, Any]:
2323
# Determine required database
24-
submission_portals = []
24+
submission_portals = set()
2525
for database in databases:
2626
if "BIOSAMPLE" in database or "SRA" in database or "GENBANK" in database:
27-
submission_portals.append("ncbi")
27+
submission_portals.add("ncbi")
2828
if "GISAID" in database:
29-
submission_portals.append("gisaid")
29+
submission_portals.add("gisaid")
3030
# Check if list empty
3131
if not submission_portals:
3232
print("Error: Submission portals list cannot be empty.", file=sys.stderr)

0 commit comments

Comments
 (0)