EnergySystemsModellingLab / MUSE_OS

Welcome to the MUSE-OS repository
https://muse-os.readthedocs.io/en/latest/
GNU General Public License v3.0
22 stars 8 forks source link

More detailed explanation on how to set up ``pyenv`` on ``Linux`` and… #367

Open HarmonicReflux opened 5 days ago

HarmonicReflux commented 5 days ago

Windows.

What remains a TODO is a more detailed refinement of the documentation in terms of separating the way that exist to install MUSE. It should be made explicitly clear to settle on either of the following options.They are:

i) standalone-muse ii) pipx-based installation iii) virtual-env-based either via

Description

Clearer documentation to for setting up pyenv on Linux and Windows.

Fixes #357

Type of change

Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s.

Key checklist

Further checks

codecov[bot] commented 5 days ago

Codecov Report

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

Project coverage is 71.27%. Comparing base (d331f46) to head (31f548d).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #367 +/- ## =========================================== + Coverage 71.24% 71.27% +0.03% =========================================== Files 44 44 Lines 5870 5870 Branches 1158 1158 =========================================== + Hits 4182 4184 +2 + Misses 1366 1365 -1 + Partials 322 321 -1 ```

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

HarmonicReflux commented 5 days ago

I got a notable observation regarding this draft pull-request: Earlier today, all tests, except the one on Mac-OS, Python 3.12, run successfully. As Chris recommended in today's sprint, just re-running the failed test, fixed the issue by itself. How come a failed test repairs itself, merely by re-running it?

dalonsoa commented 5 days ago

MUSE uses random numbers in some of the tests to populate the arrays and some of these, occasionally, result in unfeasible data. Not a great situation, but easy to spot as it is often just the run for one OS and Python version failing for no apparent reason.

dalonsoa commented 1 day ago

@HarmonicReflux , I'll review this once you have implemented @alexdewar suggestions, so I work on a more polished version of the docs.