Commit d4f256f
Adding a registry to have the hashes of datasets (restructured for aws s3) (#1076)
* init
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* linter errors
* readthedocs fix
* extension bug fix
* use cache dir
* all downloads cache to squidpy default. Don't use scanpy default since its relative. It's fine if set it globally
* format
* add docs
* PathLike refactor
* redirect notebooks to the correct module
* update script
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* since we have the hash of downloaded files we don't need to update for each new script
* update script
* format
* remove agent spoofing
* remove fallbacks
* if path is not None
* more structured logic
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* resolve comments
* fix logging import
* replace all "from scanpy import logging as logg" with spatiadata loggers
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* clarify comments
* use sc.settings
* fix datapath
* spatialdata logger doesn't accept time. will create an issue about logging
* revert logging thing to put it to a separate issue
* fix blunder
* fix path comparison
* remove fallback test
* added comment about visium_hne_sdata and increased timeout
* clarify docstring
* remove fallback urls - I thought I already did :(
* completely remove fallback from codebase
* make registry thing clearer
* update test_downloader
* fix small mistake with file entry
* remove unused functions like is_single_file property
is_adata_with_image property
has_hires_image property
* rename to visium_10x for the format
* raise an ExceptionGroup
* explicit emptyness check
* apply @flying-sheep's suggestion
* apply previous suggestion to other places
* apply Traversable suggestion
* get rid of the first_entry thing
* add cache test
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update src/squidpy/datasets/_registry.py
Co-authored-by: Philipp A. <[email protected]>
* Update src/squidpy/datasets/_registry.py
Co-authored-by: Philipp A. <[email protected]>
* import pathlike
* add cache to notebook ci's as well
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Philipp A. <[email protected]>1 parent c653810 commit d4f256f
File tree
21 files changed
+1944
-662
lines changed- .github/workflows
- .scripts/ci
- src/squidpy
- datasets
- gr
- read
- tests/datasets
21 files changed
+1944
-662
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
14 | 43 | | |
| 44 | + | |
15 | 45 | | |
16 | 46 | | |
17 | 47 | | |
| |||
33 | 63 | | |
34 | 64 | | |
35 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
36 | 77 | | |
37 | 78 | | |
| 79 | + | |
38 | 80 | | |
39 | 81 | | |
40 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 45 | + | |
48 | 46 | | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
125 | | - | |
126 | | - | |
127 | | - | |
| 126 | + | |
128 | 127 | | |
| 128 | + | |
| 129 | + | |
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
| |||
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
184 | | - | |
185 | | - | |
186 | | - | |
| 185 | + | |
187 | 186 | | |
| 187 | + | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
2 | 8 | | |
3 | 9 | | |
4 | 10 | | |
5 | | - | |
6 | | - | |
7 | 11 | | |
8 | | - | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
10 | 15 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 16 | | |
33 | 17 | | |
34 | 18 | | |
35 | 19 | | |
36 | 20 | | |
37 | 21 | | |
| 22 | + | |
38 | 23 | | |
39 | | - | |
40 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
41 | 33 | | |
42 | 34 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
48 | 43 | | |
49 | 44 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
58 | 49 | | |
59 | | - | |
60 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
61 | 53 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 54 | + | |
| 55 | + | |
65 | 56 | | |
66 | | - | |
67 | | - | |
68 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
69 | 60 | | |
70 | 61 | | |
71 | 62 | | |
72 | | - | |
| 63 | + | |
73 | 64 | | |
74 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
75 | 68 | | |
76 | 69 | | |
77 | 70 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
0 commit comments