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

feat: get sample name fix #393

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Conversation

EdAtkin
Copy link
Contributor

@EdAtkin EdAtkin commented Mar 19, 2025

Pull request description

Fixing a clashing treatment of SampleNames in samplePDFFDBase and samplePDFBase. Removed SampleNames std::vector from samplePDFBase and made GetSampleNames to be pure virtual. All base classes are currently over-riding this function anyway.

Changes or fixes

  • Removing std::vectorstd::string SampleNames from samplePDFBase
  • Making GetSampleNames(int iSample) pure virtual so you have to specify how to get the sample name.
  • Changing GetName to GetSampleName(int iSample=0) in samplePDFFDBase which isn't ideal as iSample is not used in this function.

Examples

EdAtkin added 3 commits March 19, 2025 10:48
…the pure virtual function in samplePDFBase. Adding an explicit check on the length of SampleName in that function as well.
Copy link

Hi @EdAtkin, thank you for contributing to MaCh3! Please wait for MaCh3 developers to review your PR. If no one answers within a week, please message people from this list: https://github.com/orgs/mach3-software/teams/mach3admin . While waiting, please enjoy this

meme

Use this action on your projects. Use jokes on issues instead.

@EdAtkin EdAtkin requested a review from nosektom March 19, 2025 12:00
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.

1 participant