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

Fix alias loading for old proposals #490

Merged
merged 1 commit into from Feb 26, 2024
Merged

Fix alias loading for old proposals #490

merged 1 commit into from Feb 26, 2024

Conversation

JamesWrigley
Copy link
Member

Old proposals would copy all data from raw into proc so they would always contain the same sources, so when open_run() picked the proc DataCollection to return it wouldn't include any aliases because those are only loaded once for raw data.

Would it be possible to make a patch release for this? Unfortunately without it one can't use aliases in DAMNIT context files for old proposals ☹️

@JamesWrigley JamesWrigley added the bug Something isn't working label Feb 26, 2024
@JamesWrigley JamesWrigley self-assigned this Feb 26, 2024
Old proposals would copy all data from raw into proc so they would always
contain the same sources, so when open_run() picked the proc DataCollection to
return it wouldn't include any aliases because those are only loaded once for
raw data.
@takluyver
Copy link
Member

LGTM, thanks!

I'll probably just release master as 1.16 - it looks like all low-risk fixes anyway, and this seems simpler than splitting out this fix as 1.15.2.

@JamesWrigley
Copy link
Member Author

Thankee thankee 🙏

@JamesWrigley JamesWrigley merged commit 6b27fd4 into master Feb 26, 2024
9 of 10 checks passed
@JamesWrigley JamesWrigley deleted the proc-aliases branch February 26, 2024 13:30
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

Successfully merging this pull request may close these issues.

None yet

2 participants