Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refac: Rename config file to careamics.yaml in BMZ export (#271)
### Description - **What**: When exporting to bmz the config file is now called `careamics.yaml`. Searching for the config file during loading has also been made more restrictive: previously the function searched for any `.yml` file in the attachments and now it searches specifically for `careamics.yaml`. - **Why**: Renaming the file makes it clearer to users it relates to CAREamics' functionality and should prevent any future name clashes with other tools. The config file loading was made more restrictive because it was not very robust to possible cases where additional attachments are used, and using the `export_to_bmz` function doesn't allow any choice in the name of the config file. - **How**: Modified config path in `export_to_bmz` and modified config path search in `extract_model_path`. ### Changes Made - **Modified**: - `export_to_bmz` - `extract_model_path` - `save_configuration` docs ### Related Issues - Resolves #269 --- **Please ensure your PR meets the following requirements:** - [x] Code builds and passes tests locally, including doctests - [ ] New tests have been added (for bug fixes/features) - [x] Pre-commit passes - [ ] PR to the documentation exists (for bug fixes / features)
- Loading branch information