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 wrong activity meta being written into output files #2261

Merged
merged 8 commits into from
Mar 16, 2023
Merged

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented Feb 16, 2023

This also adds the stop time.

Fixes #2260

kosack
kosack previously approved these changes Feb 20, 2023
@maxnoe
Copy link
Member Author

maxnoe commented Feb 20, 2023

Tests are currently failing because we as it is now, the .current_activity property does not autostart one when it doesn't exist. However, I think this is better, and we should move the starting a new activity to another place so it is clear whether something is currently running, just finished or nothing has been started yet

@maxnoe maxnoe force-pushed the fix_activity_meta branch 2 times, most recently from 49261f9 to 6c2c628 Compare March 10, 2023 11:18
@maxnoe maxnoe added this to the v0.18.1 milestone Mar 10, 2023
@maxnoe maxnoe force-pushed the fix_activity_meta branch from 87e33bb to 926e46c Compare March 10, 2023 14:21
@maxnoe maxnoe requested review from kosack and LukasNickel March 10, 2023 16:20
@maxnoe
Copy link
Member Author

maxnoe commented Mar 10, 2023

@kosack works now, please review

LukasNickel
LukasNickel previously approved these changes Mar 13, 2023
ctapipe/core/provenance.py Show resolved Hide resolved
ctapipe/core/provenance.py Show resolved Hide resolved
@maxnoe maxnoe merged commit 3bf6b17 into main Mar 16, 2023
@maxnoe maxnoe deleted the fix_activity_meta branch March 16, 2023 16:43
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.

CTA ACTIVITY END TIME doesn't appear in Reference metadata
4 participants