From 347e2102048cd6555159b78822d19aa92ee5578d Mon Sep 17 00:00:00 2001 From: aknecht2 <aknecht2@unl.edu> Date: Thu, 5 Nov 2015 12:49:16 -0600 Subject: [PATCH] Added efault value to dimfromroi to prevent errors. --- scripts/ih-extract-multi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ih-extract-multi b/scripts/ih-extract-multi index 1c76539..00815bf 100644 --- a/scripts/ih-extract-multi +++ b/scripts/ih-extract-multi @@ -10,7 +10,7 @@ parser.add_argument("--inputs", dest="inputs", nargs="+", help="Path to processe parser.add_argument("--db", dest="db", help="Path to database to write", required = True) parser.add_argument("--createdb", dest="createdb", default=False, action="store_true", help = "Create database file specified by db") parser.add_argument("--dimensions", dest="dimensions", default=False, action="store_true", help="Extract dimensions.") -parser.add_argument("--dimfromroi", dest="dimfromroi", nargs="+", help="Path to roi files for modified dimensions extraction.") +parser.add_argument("--dimfromroi", dest="dimfromroi", default=[], nargs="+", help="Path to roi files for modified dimensions extraction.") parser.add_argument("--pixels", dest="pixels", default=False, action="store_true", help="Extract pixels.") parser.add_argument("--colors", dest="colors", default=False, action="store_true", help="Extract color data.") parser.add_argument("--channels", dest="channels", default=False, action="store_true", help="Extract channel data.") -- GitLab