From 95b3ac5d181772ea57dce2833e487f136394d6f2 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Fri, 24 Sep 2010 22:34:15 +0000 Subject: [PATCH] Remind myself that dry-run doesn't work with the extract results code --- scripts/runfolder | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) -- 2.30.2