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

Reading fully ionized species with species_string_to_tuple #2403

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

sonachitchyan
Copy link
Member

@sonachitchyan sonachitchyan commented Aug 29, 2023

📝 Description

Type: 🪲 bugfix | 🚀 feature | ☣️ breaking change | 🚦 testing | 📝 documentation | 🎢 infrastructure

species_string_to_tuple can't read species where ion number is equal to atomic number (screenshot below). This PR fixes that
Screen Shot 2023-08-29 at 2 25 07 PM

Also, link issues affected by this pull request by using the keywords: close, closes, closed, fix, fixes, fixed, resolve, resolves or resolved.

📌 Resources

Examples, notebooks, and links to useful references.

🚦 Testing

How did you test these changes?

  • Testing pipeline
  • Other method (describe)
  • My changes can't be tested (explain why)

☑️ Checklist

  • I requested two reviewers for this pull request
  • I updated the documentation according to my changes
  • I built the documentation by applying the build_docs label

Note: If you are not allowed to perform any of these actions, ping (@) a contributor.

Copy link
Contributor

@andrewfullard andrewfullard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hilarious bug, good find

@codecov
Copy link

codecov bot commented Aug 29, 2023

Codecov Report

Merging #2403 (8f6abcd) into master (59bdcf3) will decrease coverage by 0.01%.
Report is 2 commits behind head on master.
The diff coverage is 66.66%.

❗ Current head 8f6abcd differs from pull request most recent head 7a11cd4. Consider uploading reports for the commit 7a11cd4 to get more accurate results

@@            Coverage Diff             @@
##           master    #2403      +/-   ##
==========================================
- Coverage   68.49%   68.49%   -0.01%     
==========================================
  Files         145      145              
  Lines       13245    13247       +2     
==========================================
+ Hits         9072     9073       +1     
- Misses       4173     4174       +1     
Files Changed Coverage Δ
tardis/montecarlo/base.py 87.28% <50.00%> (-0.32%) ⬇️
tardis/util/base.py 73.07% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@andrewfullard andrewfullard enabled auto-merge (squash) August 29, 2023 19:22
@sonachitchyan
Copy link
Member Author

Can't be auto-merged because of osx tests? @andrewfullard

@andrewfullard
Copy link
Contributor

Yep, trying to fix.

@andrewfullard andrewfullard merged commit 1d788f5 into tardis-sn:master Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants