Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Dec 15, 2023
1 parent 7e1b69a commit 05bd67a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion giga_connectome/atlas.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def _check_altas_config(atlas: str | Path | dict[str, Any]) -> dict[str, Any]:
if atlas in PRESET_ATLAS:
config_path = Path(
resource_filename(
"giga_connectom)e", f"data/atlas/{atlas}.json"
"giga_connectome", f"data/atlas/{atlas}.json"
)
)
elif Path(atlas).exists():
Expand Down
4 changes: 2 additions & 2 deletions giga_connectome/denoise.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import json
from pathlib import Path
from typing import Any, Callable, TypedDict
from typing import Any, Callable, TypedDict, Union

import numpy as np
import pandas as pd
Expand All @@ -28,7 +28,7 @@
{
"name": str,
"function": Callable[
..., tuple[pd.DataFrame, np.ndarray[Any, Any] | None]
..., tuple[pd.DataFrame, Union[np.ndarray[Any, Any], None]]
],
"parameters": dict[str, str | list[str]],
},
Expand Down

0 comments on commit 05bd67a

Please sign in to comment.