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

Indexing improvements #69

Merged
merged 9 commits into from
Oct 10, 2023
Merged

Indexing improvements #69

merged 9 commits into from
Oct 10, 2023

Conversation

TomWagg
Copy link
Owner

@TomWagg TomWagg commented Oct 10, 2023

Make repeated indexing allowed but warn the user about the perils. Additionally get the masks to work properly (i.e. you can apply a boolean mask as an index).

This will fix #34 and fix #68

@TomWagg TomWagg added bug Something isn't working enhancement New feature or request labels Oct 10, 2023
@TomWagg TomWagg self-assigned this Oct 10, 2023
@github-actions
Copy link

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
1093 1055 97% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
cogsworth/galaxy.py 99% 🟢
cogsworth/pop.py 97% 🟢
TOTAL 98% 🟢

updated for commit: 1ce0fad by action🐍

@TomWagg TomWagg merged commit 1271f97 into main Oct 10, 2023
1 check passed
@TomWagg TomWagg deleted the indexing branch October 10, 2023 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mask based indexing of populations is funky atm Repeated bin_num indices work weirdly
1 participant