changeset 2:412d7478ec92 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/voronoi_tesselation commit c86a1b93cb7732f7331a981d13465653cc1a2790
author imgteam
date Wed, 24 Apr 2024 08:13:41 +0000
parents e7fdea8385f0
children 1944b0fccdbd
files voronoi_tessellation.py voronoi_tessellation.xml
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/voronoi_tessellation.py	Thu Apr 04 15:26:55 2024 +0000
+++ b/voronoi_tessellation.py	Wed Apr 24 08:13:41 2024 +0000
@@ -1,5 +1,6 @@
 import argparse
 
+import giatools.io
 import numpy as np
 import scipy.ndimage as ndi
 import skimage.io
@@ -13,7 +14,7 @@
     parser.add_argument('output')
     args = parser.parse_args()
 
-    im = skimage.io.imread(args.input)
+    im = giatools.io.imread(args.input)
     im = im.squeeze()
     assert im.ndim == 2
 
--- a/voronoi_tessellation.xml	Thu Apr 04 15:26:55 2024 +0000
+++ b/voronoi_tessellation.xml	Wed Apr 24 08:13:41 2024 +0000
@@ -3,7 +3,7 @@
     <macros>
         <import>creators.xml</import>
         <token name="@TOOL_VERSION@">0.22.0</token>
-        <token name="@VERSION_SUFFIX@">1</token>
+        <token name="@VERSION_SUFFIX@">2</token>
     </macros>
     <edam_operations>
         <edam_operation>operation_3443</edam_operation>
@@ -16,6 +16,7 @@
         <requirement type="package" version="@TOOL_VERSION@">scikit-image</requirement>
         <requirement type="package" version="1.26.4">numpy</requirement>
         <requirement type="package" version="1.12.0">scipy</requirement>
+        <requirement type="package" version="0.1">giatools</requirement>
     </requirements>
     <command><![CDATA[