Bugfix: SBDB query return unit with exponentials#2377
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2377 +/- ##
=======================================
Coverage 63.29% 63.29%
=======================================
Files 132 132
Lines 17241 17245 +4
=======================================
+ Hits 10913 10916 +3
- Misses 6328 6329 +1
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
bsipocz
left a comment
There was a problem hiding this comment.
Please add a changelog entry, otherwise, it looks good to me.
I would wait a few days with the merge though to give a chance for Mike to review it, too.
|
I don't understand the failing check. CHANGES.rst was what I changed in the last two commits. Why did astropy-bot complain it's missing? Could someone help? |
|
|
|
Thanks @jianyangli! |
When SBDB query returns quantities that have units with exponentials, an error is issued because '^' is used to mark exponentials instead of '**' in the unit strings. Issue #2368 . This PR fixes this bug.