From bc0d57bfd4503a2882954fbc4079fd94f08b6e15 Mon Sep 17 00:00:00 2001 From: CameronFRWatson Date: Thu, 5 Sep 2024 15:07:15 -0700 Subject: [PATCH] Fix cheetah variables to work with galaxy-22.01. Incremement VERSION_SUFFIX --- tools/celesta/celesta.xml | 46 ++++++++++++++++++++++++--------------- tools/celesta/macros.xml | 18 +-------------- 2 files changed, 30 insertions(+), 34 deletions(-) diff --git a/tools/celesta/celesta.xml b/tools/celesta/celesta.xml index 06b9b7f..a6d9d7f 100644 --- a/tools/celesta/celesta.xml +++ b/tools/celesta/celesta.xml @@ -14,32 +14,32 @@ --prior '$prior_info' --xcol '$x_coord' --ycol '$y_coord' - --size '$test_size' - --height '$height' - --width '$width' + --size '${runmode.figure_options.test_size}' + --height '${runmode.figure_options.height}' + --width '${runmode.figure_options.width}' #if str($filter_cells.filter) == 'filter': --filter - --lowfilter '$low_threshold' - --highfilter '$high_threshold' + --lowfilter '${filter_cells.low_threshold}' + --highfilter '${filter_cells.high_threshold}' #end if #else if str($runmode.selected_mode) == 'assign_cells': Rscript '$__tool_directory__/celesta_assign_cells.R' --imagingdata '$anndata' --prior '$prior_info' - --xcol '$x_coord' - --ycol '$y_coord' - --maxiteration '$max_iteration' - --changethresh '$cell_change_threshold' + --xcol '$x_coord' + --ycol '$y_coord' + --maxiteration '${runmode.options.max_iteration}' + --changethresh '${runmode.options.cell_change_threshold}' #if str($filter_cells.filter) == 'filter': --filter - --lowfilter '$low_threshold' - --highfilter '$high_threshold' + --lowfilter '${filter_cells.low_threshold}' + --highfilter '${filter_cells.high_threshold}' #end if - #if $low_thresholds_file: - --lowexpthresh '$low_thresholds_file' + #if $runmode.options.low_thresholds_file: + --lowexpthresh '${runmode.options.low_thresholds_file}' #end if - #if $high_thresholds_file: - --highexpthresh '$high_thresholds_file' + #if $runmode.options.high_thresholds_file: + --highexpthresh '${runmode.options.high_thresholds_file}' #end if #for $p in $plot_cells: && Rscript '$__tool_directory__/celesta_plot_cells.R' @@ -59,13 +59,26 @@ + + + + + + + + + + + + + + -
@@ -73,7 +86,6 @@
-
diff --git a/tools/celesta/macros.xml b/tools/celesta/macros.xml index 9eae4d6..38c1efd 100644 --- a/tools/celesta/macros.xml +++ b/tools/celesta/macros.xml @@ -1,6 +1,6 @@ 0.0.0.9 - 0 + 1 20.01 @@ -20,20 +20,4 @@ 10.1038/s41592-022-01498-z - - - - - - - - - - - - - - - -