Skip to content

Commit

Permalink
Merge pull request #45 from lsst/tickets/DM-44931
Browse files Browse the repository at this point in the history
DM-44931: Fix small syntax error in if statement
  • Loading branch information
timj authored Jul 1, 2024
2 parents 5b582b3 + f1b9251 commit f555a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/run_demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if [ -z "$(butler query-datasets DATA_REPO/ raw | grep HSC)" ]; then
fi

# Explicitly define a dataset type that uses the old style metadata definition.
if [ -z "$(butler query-dataset-types DATA_REPO/ calibrate_metadata | grep -v results)"]; then
if [ -z "$(butler query-dataset-types DATA_REPO/ calibrate_metadata | grep -v results)" ]; then
butler register-dataset-type DATA_REPO calibrate_metadata PropertySet band instrument detector physical_filter visit
fi

Expand Down

0 comments on commit f555a38

Please sign in to comment.