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

Fix multimoc operations #154

Merged
merged 3 commits into from
Jul 10, 2024
Merged

Fix multimoc operations #154

merged 3 commits into from
Jul 10, 2024

Conversation

ManonMarchand
Copy link
Member

This mainly fixes #153 . There was a TypeError where MOC store indices were casted to floats in multimoc operations.

It also homogenizes a bit the doctrings in AbstractMOC to reflect all the current MOC types and adds support for multimoc operations for STMOCs done on the python side since it is not implemented yet on the rust side (see https://github.com/cds-astro/cds-moc-rust/blob/f4bbcab15ce705d4af8aace03286b947a51deea6/src/storage/u64idx/opn.rs#L96)

also implements multimocs operations for STMOCs on union, intersection, and difference
@ManonMarchand ManonMarchand merged commit 0241675 into master Jul 10, 2024
14 checks passed
@ManonMarchand ManonMarchand deleted the fix-multimoc-operations branch July 10, 2024 12:22
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.

moc.union(moc1, moc2) fails with TypeError
1 participant