Skip to content

Commit 2bf674f

Browse files
authored
fix: remove config_path in Config (#431)
## Description Fix as a pre-requisite to ecmwf/anemoi-utils#223 because the class hiearchy will change and the removed line created an exception. ## What problem does this change solve? <!-- Describe if it's a bugfix, new feature, doc update, or breaking change --> ## What issue or task does this change relate to? <!-- link to Issue Number --> ## Additional notes ## <!-- Include any additional information, caveats, or considerations that the reviewer should be aware of. --> ***As a contributor to the Anemoi framework, please ensure that your changes include unit tests, updates to any affected dependencies and documentation, and have been tested in a parallel setting (i.e., with multiple GPUs). As a reviewer, you are also responsible for verifying these aspects and requesting changes if they are not adequately addressed. For guidelines about those please refer to https://anemoi.readthedocs.io/en/latest/*** By opening this pull request, I affirm that all authors agree to the [Contributor License Agreement.](https://github.com/ecmwf/codex/blob/main/Legal/contributor_license_agreement.md)
1 parent ab3da59 commit 2bf674f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/anemoi/datasets/create/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ def __init__(self, config: str | dict | None = None, **kwargs):
132132
Additional keyword arguments to update the configuration.
133133
"""
134134
if isinstance(config, str):
135-
self.config_path = os.path.realpath(config)
136135
config = load_any_dict_format(config)
137136
else:
138137
config = deepcopy(config if config is not None else {})

0 commit comments

Comments
 (0)