Skip to content

Commit

Permalink
Updated changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
joernweissenborn committed Nov 4, 2022
1 parent 0245e19 commit a23d15e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,20 @@

### 🗑️ Deprecations (due in 0.9.0)

### 🗑️ Deprecations (due in 0.8.0)

- `<model_file>.clp_area_penalties` -> `<model_file>.clp_penalties`
- `glotaran.ParameterGroup` -> `glotaran.Parameters`

### 🗑️❌ Deprecated functionality removed in this release

- `glotaran.project.Scheme(..., non_negative_least_squares=...)`
- `glotaran.project.Scheme(..., group=...)`
- `glotaran.project.Scheme(..., group_tolerance=...)`
- `<model_file>.non-negative-least-squares: true`
- `<model_file>.non-negative-least-squares: false`
- `glotaran.parameter.ParameterGroup.to_csv(file_name=parameters.csv)`

### 🚧 Maintenance

- 🚇🩹 Fix wrong comparison in pr_benchmark workflow (#1097)
Expand Down
2 changes: 1 addition & 1 deletion glotaran/deprecation/modules/builtin_io_yml.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def model_spec_deprecations(spec: MutableMapping[Any, Any]) -> None:
dict_to_check=spec,
deprecated_usage="clp_area_penalties",
new_usage="clp_penalties",
to_be_removed_in_version="0.9.0",
to_be_removed_in_version="0.8.0",
swap_keys=("clp_area_penalties", "clp_penalties"),
stacklevel=load_model_stack_level,
)
Expand Down
2 changes: 1 addition & 1 deletion glotaran/parameter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __getattr__(attribute_name: str):
return deprecate_module_attribute(
deprecated_qual_name="glotaran.parameter.ParameterGroup",
new_qual_name="glotaran.parameter.Parameters",
to_be_removed_in_version="0.9.0",
to_be_removed_in_version="0.8.0",
)

raise AttributeError(f"module {__name__} has no attribute {attribute_name}")

0 comments on commit a23d15e

Please sign in to comment.