changeset 2:cc8fe984ec3e draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/orientationpy commit c86a1b93cb7732f7331a981d13465653cc1a2790
author imgteam
date Wed, 24 Apr 2024 08:12:45 +0000
parents df211f6b5cf2
children
files orientationpy-cli.py orientationpy.xml
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/orientationpy-cli.py	Thu Apr 04 15:25:49 2024 +0000
+++ b/orientationpy-cli.py	Wed Apr 24 08:12:45 2024 +0000
@@ -1,6 +1,7 @@
 import argparse
 import csv
 
+import giatools.io
 import numpy as np
 import orientationpy
 import skimage.io
@@ -19,7 +20,7 @@
     parser.add_argument('--output_angle_tsv', type=str, default=None)
     args = parser.parse_args()
 
-    im = skimage.io.imread(args.input)
+    im = giatools.io.imread(args.input)
     im = skimage.util.img_as_float(im)
     im = np.squeeze(im)
     assert im.ndim == 2
--- a/orientationpy.xml	Thu Apr 04 15:25:49 2024 +0000
+++ b/orientationpy.xml	Wed Apr 24 08:12:45 2024 +0000
@@ -3,7 +3,7 @@
     <macros>
         <import>creators.xml</import>
         <token name="@TOOL_VERSION@">0.2.0.4</token>
-        <token name="@VERSION_SUFFIX@">1</token>
+        <token name="@VERSION_SUFFIX@">2</token>
     </macros>
     <creator>
         <expand macro="creators/bmcv"/>
@@ -17,6 +17,7 @@
     <requirements>
         <requirement type="package" version="@TOOL_VERSION@">orientationpy</requirement>
         <requirement type="package" version="0.22.0">scikit-image</requirement>
+        <requirement type="package" version="0.1">giatools</requirement>
     </requirements>
     <command><![CDATA[