comparison tomo_setup.py @ 54:71aea0636efe draft

"planemo upload for repository https://github.com/rolfverberg/galaxytools commit fa567bea296594c621d4ffc87b166051eb6b58fe"
author rv43
date Thu, 28 Jul 2022 17:38:11 +0000
parents d34915cfd997
children bead50a4eadc
comparison
equal deleted inserted replaced
53:d34915cfd997 54:71aea0636efe
66 66
67 # Check input file type 67 # Check input file type
68 print(f'inputfiles ({type(args.inputfiles)}):\n{args.inputfiles}') 68 print(f'inputfiles ({type(args.inputfiles)}):\n{args.inputfiles}')
69 print(f'inputfile_types ({type(args.inputfile_types)}):\n{args.inputfile_types}') 69 print(f'inputfile_types ({type(args.inputfile_types)}):\n{args.inputfile_types}')
70 if isinstance(args.inputfile_types, list): 70 if isinstance(args.inputfile_types, list):
71 if if len(args.inputfile_types) == 1 and args.inputfile_types[0] == 'collection': 71 if len(args.inputfile_types) == 1 and args.inputfile_types[0] == 'collection':
72 if len(args.inputfiles) != 1 or args.inputfiles[0] != 'inputfiles.txt': 72 if len(args.inputfiles) != 1 or args.inputfiles[0] != 'inputfiles.txt':
73 raise ValueError('Inconsistent inputfiles and inputfile_types:\n'+ 73 raise ValueError('Inconsistent inputfiles and inputfile_types:\n'+
74 f'inputfiles ({type(inputfiles)}):\n{inputfiles}\n'+ 74 f'inputfiles ({type(inputfiles)}):\n{inputfiles}\n'+
75 f'inputfile_types ({type(inputfile_types)}):\n{inputfile_types}') 75 f'inputfile_types ({type(inputfile_types)}):\n{inputfile_types}')
76 input_as_collection = True 76 input_as_collection = True