CobayaSampler / cobaya

Code for Bayesian Analysis
http://cobaya.readthedocs.io/en/latest/
Other
122 stars 125 forks source link

reset loader folder after recursive defaults #360

Closed gerrfarr closed 1 month ago

gerrfarr commented 1 month ago

This fixes an issue that arrises when loading e.g. both params and priors via the !defaults constructor. The folder must be reset to the directory of the current yaml file so that the following paths can be interpreted relative to that

codecov-commenter commented 1 month ago

Codecov Report

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

Project coverage is 81.81%. Comparing base (5787446) to head (7fe20c1). Report is 1 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #360 +/- ## ========================================== - Coverage 81.82% 81.81% -0.01% ========================================== Files 146 146 Lines 11176 11177 +1 ========================================== Hits 9145 9145 - Misses 2031 2032 +1 ```

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