Mercurial > repos > rv43 > tomo
comparison tomo_setup.py @ 61:75dd6e15f628 draft
"planemo upload for repository https://github.com/rolfverberg/galaxytools commit 47b7bc203de6eac4d3e081b1fae8acb352f54b55"
author | rv43 |
---|---|
date | Wed, 17 Aug 2022 12:11:20 +0000 |
parents | 52db7707ff48 |
children | 98a83f03d91b |
comparison
equal
deleted
inserted
replaced
60:52db7707ff48 | 61:75dd6e15f628 |
---|---|
280 stack['ref_height'] = ref_heights[tomo_index] | 280 stack['ref_height'] = ref_heights[tomo_index] |
281 tomo_stack_files.append(tomo_files[0]) | 281 tomo_stack_files.append(tomo_files[0]) |
282 num_collections += 1 | 282 num_collections += 1 |
283 if num_collections != num_stack: | 283 if num_collections != num_stack: |
284 raise ValueError('Inconsistent number of data image sets') | 284 raise ValueError('Inconsistent number of data image sets') |
285 print(f'config:\n{tomo.config}') | |
286 return | |
287 | 285 |
288 # Preprocess the image files | 286 # Preprocess the image files |
289 galaxy_param = {'tdf_files' : tdf_files[0], 'tbf_files' : tbf_files[0], | 287 galaxy_param = {'tdf_files' : tdf_files[0], 'tbf_files' : tbf_files[0], |
290 'tomo_stack_files' : tomo_stack_files, 'output_name' : args.output_data} | 288 'tomo_stack_files' : tomo_stack_files, 'output_name' : args.output_data} |
291 tomo.genTomoStacks(galaxy_param) | 289 tomo.genTomoStacks(galaxy_param) |