Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SP-1922: Bugfixes in scripts - set clobber properly, set order of batches #441

Merged
merged 1 commit into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rubin_sim/maf/make_fbs_tracking_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def make_fbs_tracking_db():
args = parser.parse_args()

batches = {
"meta": "General Info Metrics",
"glance": "Quick Look Metrics",
"meta": "General Info Metrics",
"sci": "Science Metrics",
"ss": "Solar System Metrics",
"ddf": "Deep Drilling Metrics",
Expand All @@ -45,7 +45,7 @@ def make_fbs_tracking_db():
db_name = vals[-1]
run_name = db_name.replace(".db", "")
run_version = run_name.split("_10yrs")[0][-4:]
run_group = run_version + family
run_group = " ".join([run_version, family])

# Try to build a comment on the run based on the run_name
run_comment = run_name.replace("_10yrs", "")[0:-4]
Expand Down
3 changes: 2 additions & 1 deletion rubin_sim/maf/metadata_dir.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ def metadata_dir():
parser.add_argument(
"--no_clobber",
dest="no_clobber",
action="store_false",
action="store_true",
default=False,
help="Do not remove existing directory outputs",
)
args = parser.parse_args()
Expand Down
3 changes: 2 additions & 1 deletion rubin_sim/maf/scimaf_dir.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def scimaf_dir():
parser.add_argument(
"--no_clobber",
dest="no_clobber",
action="store_false",
action="store_true",
default=False,
help="Do not remove existing directory outputs",
)
parser.set_defaults(no_long_micro=False)
Expand Down
Loading