changeset 3:2c887282d3ef draft

Uploaded
author estrain
date Mon, 23 May 2022 09:41:15 +0000
parents 316961434166
children f119fb382a21
files data_manager_amrfinderplus/data_manager/data_manager_amrfinderplus.py
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/data_manager_amrfinderplus/data_manager/data_manager_amrfinderplus.py	Mon May 23 09:35:13 2022 +0000
+++ b/data_manager_amrfinderplus/data_manager/data_manager_amrfinderplus.py	Mon May 23 09:41:15 2022 +0000
@@ -88,11 +88,8 @@
         config = json.load(fh)
 
     output_directory = config.get("output_data", [{}])[0].get("extra_files_path", None)
+    os.mkdir( output_directory )
     data_manager_dict = {}
-    data_manager_dict["data_tables"] = config.get("data_tables", {})
-    data_manager_dict["data_tables"][args.datatable_name] = data_manager_dict[
-        "data_tables"
-    ].get(args.datatable_name, [])
 
     #Fetch the files and build blast databases
     version=download_from_ncbi()