We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8a0ecad + afff76c commit 53b8e1fCopy full SHA for 53b8e1f
1 file changed
sainsc/datasets.py
@@ -8,6 +8,10 @@
8
if TYPE_CHECKING:
9
from pooch import Pooch
10
11
+# version tags have the format vX.Y.Z but __version__ is X.Y.Z
12
+# we need to modify it otherwise the url is incorrect
13
+version = "v" + __version__
14
+
15
16
def _get_signature_pooch() -> "Pooch":
17
# use indirection to enable pooch as optional dependency w/o lazy loading
@@ -17,7 +21,7 @@ def _get_signature_pooch() -> "Pooch":
21
SIGNATURES = pooch.create(
18
22
path=pooch.os_cache("sainsc"),
19
23
base_url="https://github.com/HiDiHLabs/sainsc/raw/{version}/data/",
20
- version=__version__,
24
+ version=version,
25
version_dev="main",
26
registry={
27
"signatures_brain.tsv": "sha256:1e7e3e959ea0a0efdfb8bff2ef1de368757a26f317088122a14dd0b141f7149e",
0 commit comments