Commit d716838d authored by Huste, Tobias (FWCC) - 111645's avatar Huste, Tobias (FWCC) - 111645 Committed by Erxleben, Fredo
Browse files

Fix style folder not properly being specified relatively

parent b4c78bf3
Pipeline #114243 failed with stages
in 1 minute and 7 seconds
......@@ -31,6 +31,16 @@ Group your changes into these categories:
`Added`, `Changed`, `Deprecated`, `Removed`, `Fixed`, `Security`.
## Unreleased
[List of commits](https://gitlab.hzdr.de/hifis/overall/surveys/hifis-surveyval/-/compare/v1.5.0...main)
### Fixed
- Fix style folder not properly being specified relatively
([!159](https://gitlab.hzdr.de/hifis/overall/surveys/hifis-surveyval/-/merge_requests/159)
by [frust45](https://gitlab.hzdr.de/frust45)).
## [1.5.0](https://gitlab.hzdr.de/hifis/overall/surveys/hifis-surveyval/-/releases/v1.5.0) - 2021-12-09
[List of commits](https://gitlab.hzdr.de/hifis/overall/surveys/hifis-surveyval/-/compare/v1.4.0...v1.5.0)
......
......@@ -222,7 +222,7 @@ def create_preprocessing_script(settings: Settings) -> None:
def create_custom_plot_style_template() -> None:
"""Create Matplotlib custom plot style file template."""
template_name: str = 'style_template.mplstyle'
template_path: Path = Path(__file__) / ".." / "files" / template_name
template_path: Path = Path(__file__).parents[1] / "files" / template_name
custom_plot_styles_path: Path = Path('custom_plot_styles')
target_path: Path = custom_plot_styles_path / Path(template_name)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment