Closed dachengx closed 6 months ago
Before you submit this PR: make sure to put all operations-related information in a wiki-note, a PR should be about code and is publicly accessible
Depends on https://github.com/XENONnT/base_environment/pull/1593
slack thread
As an example:
import straxen st = straxen.contexts.demo() test_run_id_1T = "180423_1021" st.storage_graph(test_run_id_1T, "event_info", format="png")
gives you file 180423_1021-event_info.gv.png:
180423_1021-event_info.gv.png
strax.SaveWhen.ALWAYS
strax.SaveWhen.TARGET
strax.SaveWhen.EXPLICIT
strax.SaveWhen.NEVER
Please include the following if applicable:
All italic comments can be removed from this template.
coverage: 91.298% (-0.02%) from 91.32% when pulling 4a003f12a8797734b6b31c2aa47e6ea45285145d on storage_graph into cd6ba20cd68a9836c32cd5baaa27aa5666d49825 on master.
The failure of test is a comer case that might be fixed in another PR. https://github.com/XENONnT/straxen/actions/runs/8576757387/job/23508277771?pr=1353
Before you submit this PR: make sure to put all operations-related information in a wiki-note, a PR should be about code and is publicly accessible
What does the code in this PR do / what does it improve?
Depends on https://github.com/XENONnT/base_environment/pull/1593
slack thread
As an example:
gives you file
180423_1021-event_info.gv.png
:Can you briefly describe how it works?
strax.SaveWhen.ALWAYS
so that it will be saved if you process raw_recordsstrax.SaveWhen.TARGET
strax.SaveWhen.EXPLICIT
strax.SaveWhen.NEVER
Can you give a minimal working example (or illustrate with a figure)?
Please include the following if applicable:
Notes on testing
All italic comments can be removed from this template.