Refactored the ShapeMetricsPlotHandler to reduce duplicated lines, and altered the sequence of commands to produce plots for e1, e2, and R2 shape metrics (see plots below).
This PR also applies a fix raised in https://github.com/CosmoStat/wf-psf/issues/92 regarding skipped validation tests.
We want the validation tests to be skipped during CI, but to be ran manually with pytest by the developer. We applied the conditional pytest.mark.skipif decorator and will check if the CI environment variable was defined. If yes, the test is skipped, else the test is run.
Note, 28 files were changed due to rebase with the develop branch with updated package dependencies.
Below I show examples of the Shape metric plots for e1, e2 and R2/MeanR2.
Closes #110 and #94
Refactored the
ShapeMetricsPlotHandler
to reduce duplicated lines, and altered the sequence of commands to produce plots for e1, e2, and R2 shape metrics (see plots below).This PR also applies a fix raised in https://github.com/CosmoStat/wf-psf/issues/92 regarding skipped validation tests. We want the validation tests to be skipped during CI, but to be ran manually with pytest by the developer. We applied the conditional pytest.mark.skipif decorator and will check if the CI environment variable was defined. If yes, the test is skipped, else the test is run.
Note, 28 files were changed due to rebase with the
develop
branch with updated package dependencies.Below I show examples of the Shape metric plots for e1, e2 and R2/MeanR2.
<img src="https://github.com/CosmoStat/wf-psf/assets/15669942/ee5e7b6b-0070-4eac-a4e8-2d91b37eaabe" alt="test_metrics_nstars_1000_500_200_Shape_R2_MEANR2_RMSE" width="500">