comparison tomo.py @ 32:b1f92b63f84c draft

"planemo upload for repository https://github.com/rolfverberg/galaxytools commit d05168c8f112451a97c99f1d911362e3adec8495"
author rv43
date Tue, 19 Apr 2022 14:44:53 +0000
parents 063e1e847d95
children afb612b64f26
comparison
equal deleted inserted replaced
31:063e1e847d95 32:b1f92b63f84c
1541 def findCenters(self, galaxy_param=None, num_core=None): 1541 def findCenters(self, galaxy_param=None, num_core=None):
1542 """Find rotation axis centers for the tomography stacks. 1542 """Find rotation axis centers for the tomography stacks.
1543 """ 1543 """
1544 if num_core is None: 1544 if num_core is None:
1545 num_core = self.num_core 1545 num_core = self.num_core
1546 num_core = 1
1546 logging.info(f'num_core = {self.num_core}') 1547 logging.info(f'num_core = {self.num_core}')
1547 logging.debug('Find centers for tomography stacks') 1548 logging.debug('Find centers for tomography stacks')
1548 stacks = self.config['stack_info']['stacks'] 1549 stacks = self.config['stack_info']['stacks']
1549 available_stacks = [stack['index'] for stack in stacks if stack.get('preprocessed', False)] 1550 available_stacks = [stack['index'] for stack in stacks if stack.get('preprocessed', False)]
1550 logging.debug('Available stacks: {available_stacks}') 1551 logging.debug('Available stacks: {available_stacks}')