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

TRestDataSet new strategies 'append' and 'extend' for RelevantQuantity #530

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AlvaroEzq
Copy link
Contributor

@AlvaroEzq AlvaroEzq commented Jul 8, 2024

AlvaroEzq Ok: 27 Powered by Pull Request Badge

Adding new strategy options for RelevantQuantity.

  • append: It will append the metadata member value to the previous value. The user can specify the appender string after the append keyword. If no appender is given, then an empty string will be used. It will check if the value is already in the string and not append it if it is. Use extend if you want to force the append.
  • extend: same as append but it will not check if the value is already in the string.

These are useful for example for the relevant quantity containing the run number metadata of a TRestDataSet originated by several runs. Also for the parent run number.

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.

1 participant