comparison tomo_setup.py @ 50:79c216516ef9 draft

"planemo upload for repository https://github.com/rolfverberg/galaxytools commit fe4125fc02a12052ddf055202888fa24abb0e4b2"
author rv43
date Thu, 28 Jul 2022 16:51:25 +0000
parents 26f99fdd8d61
children 5735b3d49897
comparison
equal deleted inserted replaced
49:26f99fdd8d61 50:79c216516ef9
108 # Collect input file datasets info 108 # Collect input file datasets info
109 collections = [{'name' : filetype, 'filepaths' : [filepath]} 109 collections = [{'name' : filetype, 'filepaths' : [filepath]}
110 for filetype, filepath in zip(args.inputfile_types, args.inputfiles)] 110 for filetype, filepath in zip(args.inputfile_types, args.inputfiles)]
111 logging.debug(f'collections:\n{collections}') 111 logging.debug(f'collections:\n{collections}')
112 if len(args.tomo_ranges) != 2*len(collections): 112 if len(args.tomo_ranges) != 2*len(collections):
113 print(f'datasets ({type(datasets)} {len(datasets)}):\n{datasets}')
114 print(f'collections ({type(collections)} {len(collections)}):\n{collections}')
115 print(f'ranges ({type(args.tomo_ranges)} {len(args.tomo_ranges)}):\n{args.tomo_ranges}')
113 raise ValueError('Inconsistent tomo ranges size.') 116 raise ValueError('Inconsistent tomo ranges size.')
114 117
115 # Instantiate Tomo object 118 # Instantiate Tomo object
116 tomo = Tomo(config_file=args.config, config_out=args.output_config, log_level=log_level, 119 tomo = Tomo(config_file=args.config, config_out=args.output_config, log_level=log_level,
117 log_stream=args.log, galaxy_flag=True) 120 log_stream=args.log, galaxy_flag=True)