changeset 1:8ca435ec19be draft

planemo upload for repository https://github.com/goeckslab/tools-mti/tree/main/tools/scimap commit d20d6f5d08b43de71182459f8a6452c564a5becc
author goeckslab
date Mon, 29 Aug 2022 23:54:52 +0000
parents 2a3152751ca8
children 4c767e1a9e7c
files main_macros.xml scimap_spatial.py
diffstat 2 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/main_macros.xml	Tue Jul 19 20:29:59 2022 +0000
+++ b/main_macros.xml	Mon Aug 29 23:54:52 2022 +0000
@@ -1,11 +1,11 @@
 <macros>
-    <token name="@TOOL_VERSION@">0.0.1</token>
+    <token name="@TOOL_VERSION@">0.17.7</token>
     <token name="@VERSION_SUFFIX@">0</token>
     <token name="@PROFILE@">20.01</token>
 
     <xml name="scimap_requirements">
         <requirements>
-            <container type="docker">quay.io/goeckslab/scimap:0.17.7</container>
+            <container type="docker">quay.io/goeckslab/scimap:@TOOL_VERSION@</container>
             <yield />
         </requirements>
     </xml>
@@ -15,7 +15,11 @@
             <exit_code range="1:" level="fatal" description="Error occurred. Please check Tool Standard Error" />
         </stdio>
     </xml>
-
+    <xml name="citations">
+        <citations>
+            <citation type="doi">10.1158/2159-8290.CD-21-1357</citation>
+        </citations>
+    </xml>
     <xml name="scimap_spatial_options" token_label="spatial_aggregate">
         <section name="options" title="Advanced Options" expanded="false">
             <param argument="x_coordinate" type="text" value="X_centroid" optional="false" label="Column name containing the x-coordinates values" />
--- a/scimap_spatial.py	Tue Jul 19 20:29:59 2022 +0000
+++ b/scimap_spatial.py	Mon Aug 29 23:54:52 2022 +0000
@@ -45,6 +45,9 @@
 
     tool_func(adata, **options)
 
+    if tool == 'spatial_lda':
+        adata.uns.pop('spatial_lda_model')
+
     adata.write(output)