Skip to content

Conversation

cas-crag
Copy link

fixes: #305

Added if-statement to jackknife_cls()

Casey Cragg added 2 commits July 18, 2025 12:16
@cas-crag cas-crag changed the title gh-305:jk maps nothing2 gh-305:jk maps takes None as input Jul 18, 2025
@cas-crag cas-crag changed the title gh-305:jk maps takes None as input gh-305:jackknife_maps takes None as input Jul 18, 2025
Comment on lines +47 to +48
# This is for eg. XC with systematics maps
for key_mask in jk_maps.keys():
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are changing the input dictionary here.

Suggested change
# This is for eg. XC with systematics maps
for key_mask in jk_maps.keys():
# This is for eg. XC with systematics maps
# Work on a mutable copy of the input
jk_maps = dict(jk_maps)
for key_mask in jk_maps.keys():

@JaimeRZP
Copy link
Contributor

JaimeRZP commented Oct 8, 2025

Maybe we could get some ARC student time to help with this: CCMI-CDT/programming-projects#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

jackknife_maps should be able to take None

3 participants