Skip to content

Commit

Permalink
remove validate
Browse files Browse the repository at this point in the history
  • Loading branch information
edasubert committed Jan 30, 2024
1 parent 99b1b42 commit eda94ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 31 deletions.
12 changes: 2 additions & 10 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@ Changelog
Version v3.0.0
--------------

Breaking Changes
~~~~~~~~~~~~~~~~
- Edge populations' ``iter_connections`` returns ``CircuitNodeId`` instead of ``int``


Version v2.1.0
--------------

New Features
~~~~~~~~~~~~
- Added simulation config validation
Expand All @@ -20,10 +12,10 @@ New Features

- deprecated ``validate``


Breaking Changes
~~~~~~~~~~~~~~~~
- Deprecated the commandline subcommand ``validate`` in favor of new ``validate-circuit`` command
- Edge populations' ``iter_connections`` returns ``CircuitNodeId`` instead of ``int``
- Removed the commandline subcommand ``validate`` in favor of new ``validate-circuit`` command


Version v2.0.2
Expand Down
21 changes: 0 additions & 21 deletions bluepysnap/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,6 @@ def wrapper(*args, **kwargs):
return wrapper


@cli.command()
@circuit_validation_params
def validate(config_file, skip_slow, only_errors):
"""[DEPRECATED] Validate Sonata circuit based on config file.
Args:
config_file (str): path to Sonata circuit config file
skip_slow (bool): skip slow tests
only_errors (bool): only print fatal errors
"""
with warnings.catch_warnings():
# Making sure the warning is shown
warnings.simplefilter("always", DeprecationWarning)
Deprecate.warn(
"Calling circuit validation with 'validate' is deprecated. "
"Please use 'validate-circuit' instead."
)

circuit_validation.validate(config_file, skip_slow, only_errors)


@cli.command()
@circuit_validation_params
def validate_circuit(config_file, skip_slow, only_errors):
Expand Down

0 comments on commit eda94ed

Please sign in to comment.