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

Infer start/stop from any dtype #405

Merged

Conversation

JoranAngevaare
Copy link
Member

What is the problem / what does the code in this PR do
We determine the start/stop of a run from the metadata. If that fails, we try getting it from the target currently requested. However, if we are making that target, this of course doesn't work. Therefore, it makes a lot more sense to check all the datatypes if they are stored and determine the start and stop based on the datatype-metadata.

This is helpful e.g. when raw-records is stored but we want to make peaks. (And don't have access to the runs-metadata).

@JoranAngevaare JoranAngevaare reopened this Mar 8, 2021
Copy link
Collaborator

@WenzDaniel WenzDaniel left a comment

Choose a reason for hiding this comment

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

Looks good, thanks.

@JoranAngevaare JoranAngevaare merged commit ae060f5 into AxFoundation:master Mar 8, 2021
@JoranAngevaare JoranAngevaare deleted the infer_time_from_all branch March 8, 2021 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants