Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 22, 2024
1 parent 2caa2e6 commit d271fc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nobrainer/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ def get(name):
def available_models():
return list(_models)


def list_available_models():
pprint(available_models())

1 change: 1 addition & 0 deletions nobrainer/processing/segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ def predict(self, x, batch_size=1, normalizer=None):
batch_size=batch_size,
normalizer=normalizer,
)

@classmethod
def list_available_models(cls):
list_available_models()

0 comments on commit d271fc9

Please sign in to comment.