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

[pre-commit.ci] pre-commit autoupdate #117

Merged
merged 2 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading