diff run-superdsm.py @ 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 dc5f72f6b1e9
children
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: