changeset 6:79ec3263686a draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/superdsm/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
author imgteam
date Wed, 24 Apr 2024 08:13:34 +0000
parents 9b4830300f3a
children
files run-superdsm.py superdsm.xml
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/run-superdsm.py	Thu Apr 04 15:26:50 2024 +0000
+++ b/run-superdsm.py	Wed Apr 24 08:13:34 2024 +0000
@@ -80,6 +80,7 @@
     os.environ['MKL_NUM_THREADS'] = str(num_threads_per_process)
     os.environ['OPENBLAS_NUM_THREADS'] = str(num_threads_per_process)
 
+    import giatools.io
     import ray
     import superdsm.automation
     import superdsm.io
@@ -95,7 +96,7 @@
 
         pipeline = superdsm.pipeline.create_default_pipeline()
         cfg = create_config(args)
-        img = superdsm.io.imread(img_filepath)
+        img = giatools.io.imread(img_filepath, impl=superdsm.io.imread)
 
         # Create configuration if it is required:
         if args.do_cfg or args.do_overlay or args.do_masks:
--- a/superdsm.xml	Thu Apr 04 15:26:50 2024 +0000
+++ b/superdsm.xml	Wed Apr 24 08:13:34 2024 +0000
@@ -4,7 +4,7 @@
         <import>creators.xml</import>
         <import>tests.xml</import>
         <token name="@TOOL_VERSION@">0.2.0</token>
-        <token name="@VERSION_SUFFIX@">0</token>
+        <token name="@VERSION_SUFFIX@">1</token>
     </macros>
     <creator>
         <expand macro="creators/bmcv"/>
@@ -19,6 +19,7 @@
     <requirements>
 
         <requirement type="package" version="@TOOL_VERSION@">superdsm</requirement>
+        <requirement type="package" version="0.1.1">giatools</requirement>
 
         <!--
         Pin the dependencies to specific versions for reproducibility: