Skip to content

Commit

Permalink
Update use of cellfinder.core download cli (#107)
Browse files Browse the repository at this point in the history
* Update use of cellfinder.core download cli

* Update cellfinder model cache
  • Loading branch information
adamltyson authored May 9, 2024
1 parent 4700a23 commit 8d5a0f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
uses: actions/cache@v3
with:
path: "~/.cellfinder"
key: models-${{ hashFiles('~/.cellfinder/**') }}
key: models-${{ hashFiles('~/.brainglobe/**') }}
# Cache atlases
- name: Cache atlases
uses: actions/cache@v3
Expand Down
8 changes: 2 additions & 6 deletions brainglobe_workflows/brainmapper/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@
)
from brainreg.core.cli import atlas_parse, geometry_parser, niftyreg_parse
from brainreg.core.cli import backend_parse as brainreg_backend_parse
from cellfinder.core.download.cli import (
download_directory_parser,
model_parser,
)
from cellfinder.core.download.cli import download_parser
from cellfinder.core.tools.source_files import user_specific_configuration_path

from brainglobe_workflows import __version__
Expand Down Expand Up @@ -65,9 +62,8 @@ def brainmapper_parser():
parser = classification_parse(parser)
parser = cube_extract_parse(parser)
parser = misc_parse(parser)
parser = model_parser(parser)
parser = figures_parse(parser)
parser = download_directory_parser(parser)
parser = download_parser(parser)

# brainreg options
parser = atlas_parse(parser)
Expand Down

0 comments on commit 8d5a0f5

Please sign in to comment.