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

Bug when using time chunking immediately after setup #145

Open
plaplant opened this issue Jul 11, 2023 · 1 comment
Open

Bug when using time chunking immediately after setup #145

plaplant opened this issue Jul 11, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@plaplant
Copy link
Member

It seems like there is a bug when attempting to build a makeflow where time chunking is used immediately after the SETUP script, but this bug doesn't show up if there are intermediate steps that are not chunked. It should be fixed so that chunking works even if it immediately follows the SETUP step.

@plaplant plaplant added the bug Something isn't working label Jul 11, 2023
@plaplant plaplant self-assigned this Jul 11, 2023
@dannyjacobs
Copy link
Contributor

I found this one. Here is the error.
Traceback (most recent call last): File "/users/djacobs/mambaforge/envs/HERA2023/bin/build_makeflow_from_config.py", line 39, in <module> mt.build_makeflow_from_config(obsids, config, output) File "/users/djacobs/mambaforge/envs/HERA2023/lib/python3.10/site-packages/hera_opm/mf_tools.py", line 683, in build_makeflow_from_config build_analysis_makeflow_from_config( File "/users/djacobs/mambaforge/envs/HERA2023/lib/python3.10/site-packages/hera_opm/mf_tools.py", line 1062, in build_analysis_makeflow_from_config per_obsid_primary_obsids = _cache_dict[key] KeyError: 'SETUP_per_obsid_primary_obsids'

We initially thought that adding a null step which requires each file as input (ie no stride specified) but in testing I get the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants