-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
from_cmdstanpy - fix bug introduced by refactor (PR 1558) #1564
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1564 +/- ##
=======================================
Coverage 90.27% 90.28%
=======================================
Files 105 105
Lines 11397 11403 +6
=======================================
+ Hits 10289 10295 +6
Misses 1108 1108
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks!
The documentation build is failing, I think it's due to the latest release of myst-parser, we should pin it to the previous version until it's fixed.
why did PR pass before I added shape checks? |
The check that failed is the one that makes sure the documentation can be generated, it has no relation to this PR. The checks about the shape did pass (they are evaluated in ExternalTests job, the one that failed is BuildDocs), sorry about that. I have just checked and something must have gone wrong with their release process. They released 0.13.4 right in between these changes above but 0.13.5 is already available and .4 has been yanked from pypi: https://pypi.org/project/myst-parser/#history Adding the shape checks again now should work and all ci tests should pass |
tests are failing pylint: E1133, E1101. - pystan and base_tests
|
fecaaa7
to
b1986ae
Compare
…#1564) * squeezing scalar vars * added checks on variable shape * lint fix * remove checks on variable shape * adding back shape checks * pylint - diable no-member, not-an-iterable * black * Update .pylintrc indentation * add commas Co-authored-by: Oriol (ZBook) <oriol.abril.pla@gmail.com>
Description
Refactor of
from_cmdstanpy
failed to account for difference in xarray data shape for scalar and multi-dim vars;need to squeeze scalar vars to single column.
Checklist