changeset 33:afb612b64f26 draft

"planemo upload for repository https://github.com/rolfverberg/galaxytools commit c566c32f7c1506ab271ae08eb14a2982ee511938"
author rv43
date Tue, 19 Apr 2022 14:59:12 +0000
parents b1f92b63f84c
children 63de912323e5
files tomo.py
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tomo.py	Tue Apr 19 14:44:53 2022 +0000
+++ b/tomo.py	Tue Apr 19 14:59:12 2022 +0000
@@ -1459,7 +1459,7 @@
         """
         if num_core is None:
             num_core = self.num_core
-        logging.info(f'num_core = {self.num_core}')
+        logging.info(f'num_core = {num_core}')
         # Try loading any already preprocessed stacks (skip in Galaxy)
         # preprocessed stack order for each one in stack: row,theta,column
         stack_info = self.config['stack_info']
@@ -1543,8 +1543,7 @@
         """
         if num_core is None:
             num_core = self.num_core
-        num_core = 1
-        logging.info(f'num_core = {self.num_core}')
+        logging.info(f'num_core = {num_core}')
         logging.debug('Find centers for tomography stacks')
         stacks = self.config['stack_info']['stacks']
         available_stacks = [stack['index'] for stack in stacks if stack.get('preprocessed', False)]
@@ -1896,7 +1895,7 @@
         """
         if num_core is None:
             num_core = self.num_core
-        logging.info(f'num_core = {self.num_core}')
+        logging.info(f'num_core = {num_core}')
         if self.galaxy_flag:
             assert(galaxy_param)
             if not os.path.exists('center_slice_pngs'):