We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6be9ae8 commit cefb1efCopy full SHA for cefb1ef
osmose_run.py
@@ -450,7 +450,8 @@ def main(options):
450
sys.path.insert(0, analysers_path)
451
452
logger.log(logger.log_av_green+"loading analyses "+logger.log_ap)
453
- options.analyser = list(map(lambda analyser: analyser[len("analyser_"):] if analyser.startswith("analyser_") else analyser, options.analyser))
+ if options.analyser:
454
+ options.analyser = list(map(lambda analyser: analyser[len("analyser_"):] if analyser.startswith("analyser_") else analyser, options.analyser))
455
analysers = {}
456
for fn in os.listdir(analysers_path):
457
if fn.startswith("analyser_") and fn.endswith(".py"):
0 commit comments