Skip to content

Commit

Permalink
Update brainmapper to match cellfinder release candidate (#113)
Browse files Browse the repository at this point in the history
* Update prep_model_weights to match cellfinder

* Set the backend for torch testing

* Fixed linting

* Move keras import inot set_device function

* Set GIHTUB_ACTIONS env variable to true when testing

* Added yield statement to not return set_device_arm until after all tests done

* Switched to using pytest_sessionstart instead of an autouse fixture

* Fixed linting

* Remove any changes relating to fixing macOS latest and PyTorch
  • Loading branch information
IgorTatarnikov authored May 29, 2024
1 parent 2136585 commit 2cf2020
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
needs: [linting, manifest]
name: ${{ matrix.os }} py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
env:
KERAS_BACKEND: torch
strategy:
fail-fast: false
matrix:
Expand Down
1 change: 0 additions & 1 deletion brainglobe_workflows/brainmapper/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ def run_all(args, what_to_run, atlas):
args.model_weights,
args.install_path,
args.model,
args.n_free_cpus,
)
if what_to_run.classify:
if points is None:
Expand Down

0 comments on commit 2cf2020

Please sign in to comment.