stan-dev / cmdstanpy

CmdStanPy is a lightweight interface to Stan for Python users which provides the necessary objects and functions to compile a Stan program and fit the model to data using CmdStan.
BSD 3-Clause "New" or "Revised" License
151 stars 69 forks source link

Stan 2.34: Fix parsing of unit_e output files #723

Closed WardBrian closed 8 months ago

WardBrian commented 8 months ago

Submission Checklist

Summary

In Stan 2.34, the unit_e metric has an extra line in the CSV file:

# No free parameters for unit metric

which we need to skip over

Copyright and Licensing

Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

codecov-commenter commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (734fb98) 79.76% compared to head (144d641) 79.81%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #723 +/- ## =========================================== + Coverage 79.76% 79.81% +0.05% =========================================== Files 75 75 Lines 11439 11463 +24 =========================================== + Hits 9124 9149 +25 + Misses 2315 2314 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.