diff data_manager/data_manager.py @ 1:bf7b2c14cabc draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_dada2 commit a82e4981dac025c909244acd7127c215bdb519a7"
author iuc
date Thu, 05 Dec 2019 17:58:52 -0500
parents f57c13f5878b
children a6a81f921701
line wrap: on
line diff
--- a/data_manager/data_manager.py	Fri Nov 08 18:47:32 2019 -0500
+++ b/data_manager/data_manager.py	Thu Dec 05 17:58:52 2019 -0500
@@ -120,8 +120,8 @@
         data_manager_entry['path'] = dataset + ".species"
         data_manager_json["data_tables"]["dada2_species"] = data_manager_entry
 
-    with file(outjson, 'w') as jf:
-        jf.write(json.dumps(data_manager_json))
+    with open(outjson, 'w') as jf:
+        jf.write(json.dumps(data_manager_json, sort_keys=True))
 
 
 if __name__ == '__main__':