Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#117)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.2.0](astral-sh/ruff-pre-commit@v0.1.9...v0.2.0)
- [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 6, 2024
1 parent 9259796 commit 12252af
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ repos:
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.9
rev: v0.2.0
hooks:
- id: ruff
args: [ --config=pyproject.toml ]
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
args: [--config=pyproject.toml]
2 changes: 1 addition & 1 deletion bg_atlasgen/atlas_scripts/allen_mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def create_atlas(working_dir, resolution):
manifest=download_dir_path / "manifest.json",
# downloaded files are stored relative to here
resolution=resolution,
reference_space_key="annotation/ccf_2017"
reference_space_key="annotation/ccf_2017",
# use the latest version of the CCF
)

Expand Down
2 changes: 1 addition & 1 deletion bg_atlasgen/atlas_scripts/example_mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def create_atlas(working_dir, resolution):
manifest=download_dir_path / "manifest.json",
# downloaded files are stored relative to here
resolution=RES_UM,
reference_space_key="annotation/ccf_2017"
reference_space_key="annotation/ccf_2017",
# use the latest version of the CCF
)

Expand Down
2 changes: 1 addition & 1 deletion bg_atlasgen/atlas_scripts/kim_mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def create_atlas(working_dir, resolution):
manifest=download_dir_path / "manifest.json",
# downloaded files are stored relative to here
resolution=resolution,
reference_space_key="annotation/ccf_2017"
reference_space_key="annotation/ccf_2017",
# use the latest version of the CCF
)

Expand Down
2 changes: 1 addition & 1 deletion bg_atlasgen/atlas_scripts/osten_mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def create_atlas(working_dir, resolution):
manifest=download_dir_path / "manifest.json",
# downloaded files are stored relative to here
resolution=resolution,
reference_space_key="annotation/ccf_2017"
reference_space_key="annotation/ccf_2017",
# use the latest version of the CCF
)

Expand Down
1 change: 1 addition & 0 deletions bg_atlasgen/metadata_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
. structures.csv
. README.txt
"""

import json
import re
from datetime import datetime
Expand Down
1 change: 0 additions & 1 deletion bg_atlasgen/validate_atlases.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Script to validate atlases"""


import os
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions bg_atlasgen/volume_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Code useful for dealing with volumetric data (e.g. allen annotation volume for the mouse atlas)
extracting surfaces from volumetric data ....
"""

try:
from vedo import Volume
except ModuleNotFoundError:
Expand Down

0 comments on commit 12252af

Please sign in to comment.