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

introduce DetectorId type #76

Merged
merged 2 commits into from
Dec 13, 2024
Merged

introduce DetectorId type #76

merged 2 commits into from
Dec 13, 2024

Conversation

KrisThielemans
Copy link
Contributor

Replace uint with an alias type DetectorId, to allow future flexibility but also single place for documentation.

[x] The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in the ETSI software (the Work) under the terms and conditions of the Apache-2.0 License.

@KrisThielemans
Copy link
Contributor Author

KrisThielemans commented Dec 12, 2024

@johnstairs @naegelejd can you please help with the type alias? Getting

/home/runner/work/PETSIRD/PETSIRD/model/TripleEvent.yml:7:18: the type 'DetectorId' is not recognized

@naegelejd
Copy link
Contributor

The type is defined as DetectorID but you're referencing it as DetectorId.

@KrisThielemans
Copy link
Contributor Author

oops

@KrisThielemans
Copy link
Contributor Author

Note that terminology in detector efficiencies and the new type introduced here will need to be consistent. See #47

@KrisThielemans KrisThielemans merged commit 1315c39 into main Dec 13, 2024
2 checks passed
@KrisThielemans KrisThielemans deleted the DetectorIdType branch December 13, 2024 15:29
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.

2 participants