From: Diane Trout Date: Fri, 24 Sep 2010 22:34:15 +0000 (+0000) Subject: Remind myself that dry-run doesn't work with the extract results code X-Git-Tag: 0.4.5~13 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=95b3ac5d181772ea57dce2833e487f136394d6f2 Remind myself that dry-run doesn't work with the extract results code --- diff --git a/scripts/runfolder b/scripts/runfolder index 76b5dd8..145fd7a 100644 --- a/scripts/runfolder +++ b/scripts/runfolder @@ -121,7 +121,12 @@ def main(cmdlist=None): runfolder.extract_run_parameters(runs) command_run = True if opt.extract_results: - runfolder.extract_results(runs, opt.output_dir, opt.site, opt.max_jobs) + if opt.dry_run: + parser.error("Dry-run is not supported for extract-results") + runfolder.extract_results(runs, + opt.output_dir, + opt.site, + opt.max_jobs) command_run = True if opt.clean: runfolder.clean_runs(runs, opt.dry_run)