changeset 1:75f79148cb06 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_build_amrfinderplus commit dd78d1ba0f784a0a122159c4a6d192b8d65f6a8c-dirty
author pimarin
date Thu, 22 Dec 2022 09:51:41 +0000
parents 43ec3aadda50
children
files data_manager/data_manager_build_amrfinderplus.py data_manager/macro.xml test-data/amrfinderplus_test_data_manager.json test-data/amrfinderplus_test_data_manager_1.json tool-data/amrfinderplus.loc tool-data/amrfinderplus.loc.sample
diffstat 6 files changed, 11 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/data_manager/data_manager_build_amrfinderplus.py	Tue Dec 20 13:43:51 2022 +0000
+++ b/data_manager/data_manager_build_amrfinderplus.py	Thu Dec 22 09:51:41 2022 +0000
@@ -3,10 +3,10 @@
 import os
 import subprocess as sp
 from ftplib import FTP
+from io import BytesIO
+from pathlib import Path
 
 import pandas as pd
-from io import BytesIO
-from pathlib import Path
 
 
 class GetAmrFinderPlusDataManager:
--- a/data_manager/macro.xml	Tue Dec 20 13:43:51 2022 +0000
+++ b/data_manager/macro.xml	Thu Dec 22 09:51:41 2022 +0000
@@ -12,4 +12,4 @@
             <requirement type="package" version="@PANDAS@">pandas</requirement>
         </requirements>
     </xml>
-</macros>
\ No newline at end of file
+</macros>
--- a/test-data/amrfinderplus_test_data_manager.json	Tue Dec 20 13:43:51 2022 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-{"data_tables": {"amrfinderplus_database": [{"name": "V3.6-2020-03-20.1", "path": "amrfinderplus-db", "value": "amrfinderplus_V3.6_2020-03-20.1"}]}}
\ No newline at end of file
--- a/test-data/amrfinderplus_test_data_manager_1.json	Tue Dec 20 13:43:51 2022 +0000
+++ b/test-data/amrfinderplus_test_data_manager_1.json	Thu Dec 22 09:51:41 2022 +0000
@@ -1,1 +1,1 @@
-{"data_tables": {"amrfinderplus_database": [{"name": "V3.10-2022-10-11.2", "path": "amrfinderplus-db", "value": "amrfinderplus_V3.10_2022-10-11.2"}]}}
\ No newline at end of file
+{"data_tables": {"amrfinderplus_database": [{"name": "V3.11-2022-12-19.1", "path": "amrfinderplus-db", "value": "amrfinderplus_V3.11_2022-12-19.1"}]}}
\ No newline at end of file
--- a/tool-data/amrfinderplus.loc	Tue Dec 20 13:43:51 2022 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-# this is a tab separated file describing the location of amrfinderplus database
-#
-# the columns are:
-# value, name, path
-#
-# for example
-amrfinderplus_V3.6_2020-03-20.1    V3.6-2020-03-20.1    amrfinderplus-db
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool-data/amrfinderplus.loc.sample	Thu Dec 22 09:51:41 2022 +0000
@@ -0,0 +1,7 @@
+# this is a tab separated file describing the location of amrfinderplus database
+#
+# the columns are:
+# value, name, path
+#
+# for example
+#amrfinderplus_V3.6_2020-03-20.1    V3.6-2020-03-20.1    amrfinderplus-db