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

Configurable contact information for DataWriter #1757

Merged
merged 2 commits into from
Jul 23, 2021
Merged

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented Jul 22, 2021

This makes the Contact info a configurable trait of the DataWriter so that users can actually set the proper contact info when running tools.

We probably also want to enable this for other metadata fields, but for the others it was not as clear to me which should be autofilled and which should rely on user input.

@codecov
Copy link

codecov bot commented Jul 22, 2021

Codecov Report

Merging #1757 (ff3ce1c) into master (37d9015) will decrease coverage by 0.09%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1757      +/-   ##
==========================================
- Coverage   91.94%   91.84%   -0.10%     
==========================================
  Files         182      182              
  Lines       14380    14403      +23     
==========================================
+ Hits        13221    13228       +7     
- Misses       1159     1175      +16     
Impacted Files Coverage Δ
ctapipe/io/datawriter.py 88.07% <100.00%> (+0.13%) ⬆️
ctapipe/io/metadata.py 98.87% <100.00%> (+0.08%) ⬆️
ctapipe/io/tests/test_datawriter.py 100.00% <100.00%> (ø)
ctapipe/utils/filelock.py 76.19% <0.00%> (-23.81%) ⬇️
ctapipe/utils/download.py 64.91% <0.00%> (-19.30%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 37d9015...ff3ce1c. Read the comment docs.

Copy link
Contributor

@kosack kosack left a comment

Choose a reason for hiding this comment

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

The only other thing that we could consider is the PROCESS ID and PROCESS SUBTYPE - that is supposed to describe the overall "parent" activity, so the ID could be the MC prod name (which currently is not in the simtel files, so can't be filled automatically), and subtype is not fully defined yet.

@maxnoe maxnoe changed the title Configurable contact Configurable contact information for DataWriter Jul 23, 2021
@maxnoe maxnoe added this to the v0.12.0 milestone Jul 23, 2021
@maxnoe maxnoe added the IO label Jul 23, 2021
@maxnoe maxnoe merged commit d986061 into master Jul 23, 2021
@maxnoe maxnoe deleted the configurable_contact branch July 23, 2021 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants