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

Calendar Coffea processor and remove futures executor #391

Open
wants to merge 15 commits into
base: coffea2023
Choose a base branch
from

Conversation

bryates
Copy link
Contributor

@bryates bryates commented Feb 16, 2024

This PR removes instances of len in the processor and the FuturesExecutor in favor of dask.compute()

@@ -344,15 +345,15 @@ def process(self, events):
for syst_var in syst_var_list:
# Make a copy of the base weights object, so that each time through the loop we do not double count systs
# In this loop over systs that impact kinematics, we will add to the weights objects the SFs that depend on the object kinematics
weights_obj_base_for_kinematic_syst = copy.deepcopy(weights_obj_base)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Need to verify this didn't change the results.

@bryates bryates linked an issue Feb 19, 2024 that may be closed by this pull request
@bryates bryates linked an issue Feb 19, 2024 that may be closed by this pull request
lep SF `deepcopy` -> `copy`
Turned off jet cleaning until dask indexing can be sorted out
@bryates bryates linked an issue Feb 21, 2024 that may be closed by this pull request
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.

1 participant