Skip to content

Commit

Permalink
Deprecate petab_yaml properly; move pypesto test to pyPESTO (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
dilpath authored Jan 8, 2025
1 parent 404af84 commit 23cae9c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 346 deletions.
11 changes: 10 additions & 1 deletion petab_select/model_subspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,16 @@ def from_definition(
The model subspace.
"""
model_subspace_id = definition.pop(MODEL_SUBSPACE_ID)
petab_yaml = definition.pop(MODEL_SUBSPACE_PETAB_YAML)
if "petab_yaml" in definition:
petab_yaml = definition.pop("petab_yaml")
warnings.warn(
"Change the `petab_yaml` column to "
"`model_subspace_petab_yaml`, in the model space TSV.",
DeprecationWarning,
stacklevel=1,
)
else:
petab_yaml = definition.pop(MODEL_SUBSPACE_PETAB_YAML)
parameters = {
column_id: decompress_parameter_values(value)
for column_id, value in definition.items()
Expand Down
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ plot = [
test = [
"pytest >= 5.4.3",
"pytest-cov >= 2.10.0",
"amici >= 0.11.25",
"fides >= 0.7.5",
"pypesto >= 0.5.4",
#"pypesto @ git+https://github.com/ICB-DCM/pyPESTO.git@select_mkstd#egg=pypesto",
"tox >= 3.12.4",
]
doc = [
Expand Down
Empty file removed test/pypesto/__init__.py
Empty file.
90 changes: 0 additions & 90 deletions test/pypesto/generate_expected_models.py

This file was deleted.

34 changes: 0 additions & 34 deletions test/pypesto/regenerate_model_hashes.py

This file was deleted.

217 changes: 0 additions & 217 deletions test/pypesto/test_pypesto.py

This file was deleted.

0 comments on commit 23cae9c

Please sign in to comment.