Mercurial > repos > rv43 > tomo
comparison tomo_setup.py @ 2:b8977c98800b draft
"planemo upload for repository https://github.com/rolfverberg/galaxytools commit 0c40fb274acc13ebf7054379bb49ed13acec918e"
| author | rv43 | 
|---|---|
| date | Thu, 31 Mar 2022 20:48:17 +0000 | 
| parents | cb1b0d757704 | 
| children | 1bcca1f2adb4 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 1:e4778148df6b | 2:b8977c98800b | 
|---|---|
| 50 if not isinstance(level, int): | 50 if not isinstance(level, int): | 
| 51 raise ValueError(f'Invalid log_level: {log_level}') | 51 raise ValueError(f'Invalid log_level: {log_level}') | 
| 52 logging.basicConfig(format=logging_format, level=level, force=True, | 52 logging.basicConfig(format=logging_format, level=level, force=True, | 
| 53 handlers=[logging.StreamHandler()]) | 53 handlers=[logging.StreamHandler()]) | 
| 54 | 54 | 
| 55 logging.info(f'config = {args.config}') | 55 logging.debug(f'config = {args.config}') | 
| 56 logging.info(f'theta_range = {args.theta_range.split()}') | 56 logging.debug(f'theta_range = {args.theta_range.split()}') | 
| 57 logging.info(f'dark = {args.dark}') | 57 logging.debug(f'dark = {args.dark}') | 
| 58 logging.info(f'bright = {args.bright}') | 58 logging.debug(f'bright = {args.bright}') | 
| 59 logging.info(f'tomo = {args.tomo}') | 59 logging.debug(f'tomo = {args.tomo}') | 
| 60 logging.info(f'detectorbounds = {args.detectorbounds}') | 60 logging.debug(f'detectorbounds = {args.detectorbounds}') | 
| 61 logging.info(f'output_config = {args.output_config}') | 61 logging.debug(f'output_config = {args.output_config}') | 
| 62 logging.info(f'output_data = {args.output_data}') | 62 logging.debug(f'output_data = {args.output_data}') | 
| 63 logging.info(f'log = {args.log}') | 63 logging.debug(f'log = {args.log}') | 
| 64 logging.info(f'is log stdout? {args.log is sys.stdout}') | 64 logging.debug(f'is log stdout? {args.log is sys.stdout}') | 
| 65 logging.info(f'tomoranges = {args.tomo_ranges}') | 65 logging.debug(f'tomoranges = {args.tomo_ranges}') | 
| 66 | 66 | 
| 67 # Read input files and collect data files info | 67 # Read input files and collect data files info | 
| 68 datasets = [] | 68 datasets = [] | 
| 69 with open(args.inputfiles) as cf: | 69 with open(args.inputfiles) as cf: | 
| 70 for line in cf: | 70 for line in cf: | 
