Commit 68e26c45 authored by William Roberts's avatar William Roberts
Browse files

Fix compare.py ignore

parent 752cec8f
......@@ -25,7 +25,7 @@ aeri_qc () {
quick_vis.py $TEST_DIR/aeri_qc/user_output &>> $output_file
echo 'running diff...'
compare.py $TEST_DIR/aeri_qc/expected_output $TEST_DIR/aeri_qc/user_output --ignore 'history' --percent-error 0.05
compare.py $TEST_DIR/aeri_qc/expected_output $TEST_DIR/aeri_qc/user_output --ignore 'history' --ignore 'aeri_armory_version' --percent-error 0.05
)
result
fi
......
......@@ -230,10 +230,10 @@ def main(argv=sys.argv[1:]):
help="percent of pixels allowed to be different")
parser.add_argument(
"--ignore",
nargs='+',
action='append',
type=str,
default='',
help="list of strings to ignore in text files and ncdf attributes")
default=[],
help="String to ignore in text files and ncdf attributes")
parser.add_argument("input1", help="first file to compare")
parser.add_argument("input2", help="second file to compare")
args = parser.parse_args(argv)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment