junifer 0.0.4.dev733__py3-none-any.whl → 0.0.4.dev782__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- junifer/_version.py +2 -2
- junifer/api/tests/data/partly_cloudy_agg_mean_tian.yml +16 -0
- junifer/api/tests/test_cli.py +7 -13
- junifer/api/tests/test_functions.py +156 -102
- junifer/data/coordinates.py +1 -1
- junifer/data/masks.py +213 -54
- junifer/data/parcellations.py +91 -42
- junifer/data/template_spaces.py +33 -6
- junifer/data/tests/test_masks.py +127 -62
- junifer/data/tests/test_parcellations.py +66 -49
- junifer/data/tests/test_template_spaces.py +42 -7
- junifer/datagrabber/aomic/id1000.py +3 -0
- junifer/datagrabber/aomic/piop1.py +3 -0
- junifer/datagrabber/aomic/piop2.py +3 -0
- junifer/datagrabber/dmcc13_benchmark.py +3 -0
- junifer/datagrabber/hcp1200/hcp1200.py +3 -0
- junifer/markers/falff/tests/test_falff_parcels.py +3 -3
- junifer/markers/falff/tests/test_falff_spheres.py +3 -3
- junifer/markers/functional_connectivity/tests/test_crossparcellation_functional_connectivity.py +46 -45
- junifer/markers/functional_connectivity/tests/test_edge_functional_connectivity_parcels.py +34 -41
- junifer/markers/functional_connectivity/tests/test_edge_functional_connectivity_spheres.py +40 -56
- junifer/markers/functional_connectivity/tests/test_functional_connectivity_parcels.py +62 -74
- junifer/markers/functional_connectivity/tests/test_functional_connectivity_spheres.py +99 -89
- junifer/markers/reho/tests/test_reho_parcels.py +17 -11
- junifer/markers/temporal_snr/tests/test_temporal_snr_parcels.py +38 -37
- junifer/markers/temporal_snr/tests/test_temporal_snr_spheres.py +34 -38
- junifer/markers/tests/test_collection.py +38 -37
- junifer/markers/tests/test_ets_rss.py +29 -41
- junifer/markers/tests/test_parcel_aggregation.py +600 -511
- junifer/markers/tests/test_sphere_aggregation.py +209 -163
- {junifer-0.0.4.dev733.dist-info → junifer-0.0.4.dev782.dist-info}/METADATA +1 -1
- {junifer-0.0.4.dev733.dist-info → junifer-0.0.4.dev782.dist-info}/RECORD +37 -36
- {junifer-0.0.4.dev733.dist-info → junifer-0.0.4.dev782.dist-info}/AUTHORS.rst +0 -0
- {junifer-0.0.4.dev733.dist-info → junifer-0.0.4.dev782.dist-info}/LICENSE.md +0 -0
- {junifer-0.0.4.dev733.dist-info → junifer-0.0.4.dev782.dist-info}/WHEEL +0 -0
- {junifer-0.0.4.dev733.dist-info → junifer-0.0.4.dev782.dist-info}/entry_points.txt +0 -0
- {junifer-0.0.4.dev733.dist-info → junifer-0.0.4.dev782.dist-info}/top_level.txt +0 -0
junifer/_version.py
CHANGED
@@ -12,5 +12,5 @@ __version__: str
|
|
12
12
|
__version_tuple__: VERSION_TUPLE
|
13
13
|
version_tuple: VERSION_TUPLE
|
14
14
|
|
15
|
-
__version__ = version = '0.0.4.
|
16
|
-
__version_tuple__ = version_tuple = (0, 0, 4, '
|
15
|
+
__version__ = version = '0.0.4.dev782'
|
16
|
+
__version_tuple__ = version_tuple = (0, 0, 4, 'dev782')
|
@@ -0,0 +1,16 @@
|
|
1
|
+
workdir: /tmp
|
2
|
+
|
3
|
+
with: junifer.testing.registry
|
4
|
+
|
5
|
+
datagrabber:
|
6
|
+
kind: PartlyCloudyTestingDataGrabber
|
7
|
+
|
8
|
+
markers:
|
9
|
+
- kind: ParcelAggregation
|
10
|
+
parcellation: TianxS1x3TxMNInonlinear2009cAsym
|
11
|
+
method: mean
|
12
|
+
name: tian-s1-3T_mean
|
13
|
+
|
14
|
+
storage:
|
15
|
+
kind: HDF5FeatureStorage
|
16
|
+
uri: /tmp/partly_cloudy_agg_mean_tian.hdf5
|
junifer/api/tests/test_cli.py
CHANGED
@@ -54,16 +54,13 @@ def test_run_and_collect_commands(
|
|
54
54
|
|
55
55
|
"""
|
56
56
|
# Get test config
|
57
|
-
infile = Path(__file__).parent / "data" / "
|
57
|
+
infile = Path(__file__).parent / "data" / "partly_cloudy_agg_mean_tian.yml"
|
58
58
|
# Read test config
|
59
59
|
contents = yaml.load(infile)
|
60
60
|
# Working directory
|
61
|
-
workdir = tmp_path
|
62
|
-
contents["workdir"] = str(workdir.resolve())
|
63
|
-
# Output directory
|
64
|
-
outdir = tmp_path / "outdir"
|
61
|
+
contents["workdir"] = str(tmp_path.resolve())
|
65
62
|
# Storage
|
66
|
-
contents["storage"]["uri"] = str(
|
63
|
+
contents["storage"]["uri"] = str((tmp_path / "out.hdf5").resolve())
|
67
64
|
# Write new test config
|
68
65
|
outfile = tmp_path / "in.yaml"
|
69
66
|
yaml.dump(contents, stream=outfile)
|
@@ -117,16 +114,13 @@ def test_run_using_element_file(tmp_path: Path, elements: str) -> None:
|
|
117
114
|
f.write(elements)
|
118
115
|
|
119
116
|
# Get test config
|
120
|
-
infile = Path(__file__).parent / "data" / "
|
117
|
+
infile = Path(__file__).parent / "data" / "partly_cloudy_agg_mean_tian.yml"
|
121
118
|
# Read test config
|
122
119
|
contents = yaml.load(infile)
|
123
120
|
# Working directory
|
124
|
-
workdir = tmp_path
|
125
|
-
contents["workdir"] = str(workdir.resolve())
|
126
|
-
# Output directory
|
127
|
-
outdir = tmp_path / "outdir"
|
121
|
+
contents["workdir"] = str(tmp_path.resolve())
|
128
122
|
# Storage
|
129
|
-
contents["storage"]["uri"] = str(
|
123
|
+
contents["storage"]["uri"] = str((tmp_path / "out.hdf5").resolve())
|
130
124
|
# Write new test config
|
131
125
|
outfile = tmp_path / "in.yaml"
|
132
126
|
yaml.dump(contents, stream=outfile)
|
@@ -228,7 +222,7 @@ def test_queue(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:
|
|
228
222
|
@pytest.mark.parametrize(
|
229
223
|
"action, action_file",
|
230
224
|
[
|
231
|
-
(run, "
|
225
|
+
(run, "partly_cloudy_agg_mean_tian.yml"),
|
232
226
|
(queue, "gmd_mean_htcondor.yaml"),
|
233
227
|
],
|
234
228
|
)
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
import logging
|
9
9
|
from pathlib import Path
|
10
|
-
from typing import List, Tuple, Union
|
10
|
+
from typing import Dict, List, Tuple, Union
|
11
11
|
|
12
12
|
import pytest
|
13
13
|
from ruamel.yaml import YAML
|
@@ -24,97 +24,104 @@ yaml.default_flow_style = False
|
|
24
24
|
yaml.allow_unicode = True
|
25
25
|
yaml.indent(mapping=2, sequence=4, offset=2)
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
}
|
52
|
-
|
53
|
-
|
54
|
-
|
27
|
+
|
28
|
+
@pytest.fixture
|
29
|
+
def datagrabber() -> Dict[str, str]:
|
30
|
+
"""Return a datagrabber as a dictionary."""
|
31
|
+
return {
|
32
|
+
"kind": "PartlyCloudyTestingDataGrabber",
|
33
|
+
}
|
34
|
+
|
35
|
+
|
36
|
+
@pytest.fixture
|
37
|
+
def markers() -> List[Dict[str, str]]:
|
38
|
+
"""Return markers as a list of dictionary."""
|
39
|
+
return [
|
40
|
+
{
|
41
|
+
"name": "tian-s1-3T_mean",
|
42
|
+
"kind": "ParcelAggregation",
|
43
|
+
"parcellation": "TianxS1x3TxMNInonlinear2009cAsym",
|
44
|
+
"method": "mean",
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"name": "tian-s1-3T_std",
|
48
|
+
"kind": "ParcelAggregation",
|
49
|
+
"parcellation": "TianxS1x3TxMNInonlinear2009cAsym",
|
50
|
+
"method": "std",
|
51
|
+
},
|
52
|
+
]
|
53
|
+
|
54
|
+
|
55
|
+
@pytest.fixture
|
56
|
+
def storage() -> Dict[str, str]:
|
57
|
+
"""Return a storage as a dictionary."""
|
58
|
+
return {
|
59
|
+
"kind": "SQLiteFeatureStorage",
|
60
|
+
}
|
61
|
+
|
62
|
+
|
63
|
+
def test_run_single_element(
|
64
|
+
tmp_path: Path,
|
65
|
+
datagrabber: Dict[str, str],
|
66
|
+
markers: List[Dict[str, str]],
|
67
|
+
storage: Dict[str, str],
|
68
|
+
) -> None:
|
55
69
|
"""Test run function with single element.
|
56
70
|
|
57
71
|
Parameters
|
58
72
|
----------
|
59
73
|
tmp_path : pathlib.Path
|
60
74
|
The path to the test directory.
|
75
|
+
datagrabber : dict
|
76
|
+
Testing datagrabber as dictionary.
|
77
|
+
markers : list of dict
|
78
|
+
Testing markers as list of dictionary.
|
79
|
+
storage : dict
|
80
|
+
Testing storage as dictionary.
|
61
81
|
|
62
82
|
"""
|
63
|
-
#
|
64
|
-
|
65
|
-
workdir.mkdir()
|
66
|
-
# Create output directory
|
67
|
-
outdir = workdir / "out"
|
68
|
-
outdir.mkdir()
|
69
|
-
# Create storage
|
70
|
-
uri = outdir / "test.sqlite"
|
71
|
-
storage["uri"] = uri # type: ignore
|
83
|
+
# Set storage
|
84
|
+
storage["uri"] = str((tmp_path / "out.sqlite").resolve())
|
72
85
|
# Run operations
|
73
86
|
run(
|
74
|
-
workdir=
|
87
|
+
workdir=tmp_path,
|
75
88
|
datagrabber=datagrabber,
|
76
89
|
markers=markers,
|
77
90
|
storage=storage,
|
78
91
|
elements=["sub-01"],
|
79
92
|
)
|
80
93
|
# Check files
|
81
|
-
files = list(
|
94
|
+
files = list(tmp_path.glob("*.sqlite"))
|
82
95
|
assert len(files) == 1
|
83
96
|
|
84
97
|
|
85
|
-
def test_run_single_element_with_preprocessing(
|
98
|
+
def test_run_single_element_with_preprocessing(
|
99
|
+
tmp_path: Path,
|
100
|
+
markers: List[Dict[str, str]],
|
101
|
+
storage: Dict[str, str],
|
102
|
+
) -> None:
|
86
103
|
"""Test run function with single element and pre-processing.
|
87
104
|
|
88
105
|
Parameters
|
89
106
|
----------
|
90
107
|
tmp_path : pathlib.Path
|
91
108
|
The path to the test directory.
|
109
|
+
markers : list of dict
|
110
|
+
Testing markers as list of dictionary.
|
111
|
+
storage : dict
|
112
|
+
Testing storage as dictionary.
|
92
113
|
|
93
114
|
"""
|
94
|
-
#
|
95
|
-
|
96
|
-
workdir.mkdir()
|
97
|
-
# Create output directory
|
98
|
-
outdir = workdir / "out"
|
99
|
-
outdir.mkdir()
|
100
|
-
# Create storage
|
101
|
-
uri = outdir / "test.sqlite"
|
102
|
-
storage["uri"] = uri # type: ignore
|
115
|
+
# Set storage
|
116
|
+
storage["uri"] = str((tmp_path / "out.sqlite").resolve())
|
103
117
|
# Run operations
|
104
118
|
run(
|
105
|
-
workdir=
|
119
|
+
workdir=tmp_path,
|
106
120
|
datagrabber={
|
107
121
|
"kind": "PartlyCloudyTestingDataGrabber",
|
108
122
|
"reduce_confounds": False,
|
109
123
|
},
|
110
|
-
markers=
|
111
|
-
{
|
112
|
-
"name": "Schaefer100x17_mean_FC",
|
113
|
-
"kind": "FunctionalConnectivityParcels",
|
114
|
-
"parcellation": "Schaefer100x17",
|
115
|
-
"agg_method": "mean",
|
116
|
-
}
|
117
|
-
],
|
124
|
+
markers=markers,
|
118
125
|
storage=storage,
|
119
126
|
preprocessors=[
|
120
127
|
{
|
@@ -124,97 +131,110 @@ def test_run_single_element_with_preprocessing(tmp_path: Path) -> None:
|
|
124
131
|
elements=["sub-01"],
|
125
132
|
)
|
126
133
|
# Check files
|
127
|
-
files = list(
|
134
|
+
files = list(tmp_path.glob("*.sqlite"))
|
128
135
|
assert len(files) == 1
|
129
136
|
|
130
137
|
|
131
|
-
def
|
132
|
-
|
138
|
+
def test_run_multi_element_multi_output(
|
139
|
+
tmp_path: Path,
|
140
|
+
datagrabber: Dict[str, str],
|
141
|
+
markers: List[Dict[str, str]],
|
142
|
+
storage: Dict[str, str],
|
143
|
+
) -> None:
|
144
|
+
"""Test run function with multi element and multi output.
|
133
145
|
|
134
146
|
Parameters
|
135
147
|
----------
|
136
148
|
tmp_path : pathlib.Path
|
137
149
|
The path to the test directory.
|
150
|
+
datagrabber : dict
|
151
|
+
Testing datagrabber as dictionary.
|
152
|
+
markers : list of dict
|
153
|
+
Testing markers as list of dictionary.
|
154
|
+
storage : dict
|
155
|
+
Testing storage as dictionary.
|
138
156
|
|
139
157
|
"""
|
140
|
-
#
|
141
|
-
|
142
|
-
workdir.mkdir()
|
143
|
-
# Create output directory
|
144
|
-
outdir = workdir / "out"
|
145
|
-
outdir.mkdir()
|
146
|
-
# Create storage
|
147
|
-
uri = outdir / "test.sqlite"
|
148
|
-
storage["uri"] = uri # type: ignore
|
158
|
+
# Set storage
|
159
|
+
storage["uri"] = str((tmp_path / "out.sqlite").resolve())
|
149
160
|
storage["single_output"] = False # type: ignore
|
150
161
|
# Run operations
|
151
162
|
run(
|
152
|
-
workdir=
|
163
|
+
workdir=tmp_path,
|
153
164
|
datagrabber=datagrabber,
|
154
165
|
markers=markers,
|
155
166
|
storage=storage,
|
156
167
|
elements=["sub-01", "sub-03"],
|
157
168
|
)
|
158
169
|
# Check files
|
159
|
-
files = list(
|
170
|
+
files = list(tmp_path.glob("*.sqlite"))
|
160
171
|
assert len(files) == 2
|
161
172
|
|
162
173
|
|
163
|
-
def test_run_multi_element_single_output(
|
164
|
-
|
174
|
+
def test_run_multi_element_single_output(
|
175
|
+
tmp_path: Path,
|
176
|
+
datagrabber: Dict[str, str],
|
177
|
+
markers: List[Dict[str, str]],
|
178
|
+
storage: Dict[str, str],
|
179
|
+
) -> None:
|
180
|
+
"""Test run function with multi element and single output.
|
165
181
|
|
166
182
|
Parameters
|
167
183
|
----------
|
168
184
|
tmp_path : pathlib.Path
|
169
185
|
The path to the test directory.
|
186
|
+
datagrabber : dict
|
187
|
+
Testing datagrabber as dictionary.
|
188
|
+
markers : list of dict
|
189
|
+
Testing markers as list of dictionary.
|
190
|
+
storage : dict
|
191
|
+
Testing storage as dictionary.
|
170
192
|
|
171
193
|
"""
|
172
|
-
#
|
173
|
-
|
174
|
-
workdir.mkdir()
|
175
|
-
# Create output directory
|
176
|
-
outdir = workdir / "out"
|
177
|
-
outdir.mkdir()
|
178
|
-
# Create storage
|
179
|
-
uri = outdir / "test.sqlite"
|
180
|
-
storage["uri"] = uri # type: ignore
|
194
|
+
# Set storage
|
195
|
+
storage["uri"] = str((tmp_path / "out.sqlite").resolve())
|
181
196
|
storage["single_output"] = True # type: ignore
|
182
197
|
# Run operations
|
183
198
|
run(
|
184
|
-
workdir=
|
199
|
+
workdir=tmp_path,
|
185
200
|
datagrabber=datagrabber,
|
186
201
|
markers=markers,
|
187
202
|
storage=storage,
|
188
203
|
elements=["sub-01", "sub-03"],
|
189
204
|
)
|
190
205
|
# Check files
|
191
|
-
files = list(
|
206
|
+
files = list(tmp_path.glob("*.sqlite"))
|
192
207
|
assert len(files) == 1
|
193
|
-
assert files[0].name == "
|
208
|
+
assert files[0].name == "out.sqlite"
|
194
209
|
|
195
210
|
|
196
|
-
def test_run_and_collect(
|
211
|
+
def test_run_and_collect(
|
212
|
+
tmp_path: Path,
|
213
|
+
datagrabber: Dict[str, str],
|
214
|
+
markers: List[Dict[str, str]],
|
215
|
+
storage: Dict[str, str],
|
216
|
+
) -> None:
|
197
217
|
"""Test run and collect functions.
|
198
218
|
|
199
219
|
Parameters
|
200
220
|
----------
|
201
221
|
tmp_path : pathlib.Path
|
202
222
|
The path to the test directory.
|
223
|
+
datagrabber : dict
|
224
|
+
Testing datagrabber as dictionary.
|
225
|
+
markers : list of dict
|
226
|
+
Testing markers as list of dictionary.
|
227
|
+
storage : dict
|
228
|
+
Testing storage as dictionary.
|
203
229
|
|
204
230
|
"""
|
205
|
-
#
|
206
|
-
|
207
|
-
|
208
|
-
# Create output directory
|
209
|
-
outdir = workdir / "out"
|
210
|
-
outdir.mkdir()
|
211
|
-
# Create storage
|
212
|
-
uri = outdir / "test.sqlite"
|
213
|
-
storage["uri"] = uri # type: ignore
|
231
|
+
# Set storage
|
232
|
+
uri = tmp_path / "out.sqlite"
|
233
|
+
storage["uri"] = str(uri.resolve())
|
214
234
|
storage["single_output"] = False # type: ignore
|
215
235
|
# Run operations
|
216
236
|
run(
|
217
|
-
workdir=
|
237
|
+
workdir=tmp_path,
|
218
238
|
datagrabber=datagrabber,
|
219
239
|
markers=markers,
|
220
240
|
storage=storage,
|
@@ -225,7 +245,7 @@ def test_run_and_collect(tmp_path: Path) -> None:
|
|
225
245
|
)
|
226
246
|
elements = dg.get_elements() # type: ignore
|
227
247
|
# This should create 10 files
|
228
|
-
files = list(
|
248
|
+
files = list(tmp_path.glob("*.sqlite"))
|
229
249
|
assert len(files) == len(elements)
|
230
250
|
# But the test.sqlite file should not exist
|
231
251
|
assert not uri.exists()
|
@@ -239,6 +259,9 @@ def test_queue_correct_yaml_config(
|
|
239
259
|
tmp_path: Path,
|
240
260
|
monkeypatch: pytest.MonkeyPatch,
|
241
261
|
caplog: pytest.LogCaptureFixture,
|
262
|
+
datagrabber: Dict[str, str],
|
263
|
+
markers: List[Dict[str, str]],
|
264
|
+
storage: Dict[str, str],
|
242
265
|
) -> None:
|
243
266
|
"""Test proper YAML config generation for queueing.
|
244
267
|
|
@@ -250,6 +273,12 @@ def test_queue_correct_yaml_config(
|
|
250
273
|
The pytest.MonkeyPatch object.
|
251
274
|
caplog : pytest.LogCaptureFixture
|
252
275
|
The pytest.LogCaptureFixture object.
|
276
|
+
datagrabber : dict
|
277
|
+
Testing datagrabber as dictionary.
|
278
|
+
markers : list of dict
|
279
|
+
Testing markers as list of dictionary.
|
280
|
+
storage : dict
|
281
|
+
Testing storage as dictionary.
|
253
282
|
|
254
283
|
"""
|
255
284
|
with monkeypatch.context() as m:
|
@@ -261,7 +290,7 @@ def test_queue_correct_yaml_config(
|
|
261
290
|
"workdir": str(tmp_path.resolve()),
|
262
291
|
"datagrabber": datagrabber,
|
263
292
|
"markers": markers,
|
264
|
-
"storage":
|
293
|
+
"storage": storage,
|
265
294
|
"env": {
|
266
295
|
"kind": "conda",
|
267
296
|
"name": "junifer",
|
@@ -479,6 +508,7 @@ def test_queue_without_elements(
|
|
479
508
|
tmp_path: Path,
|
480
509
|
monkeypatch: pytest.MonkeyPatch,
|
481
510
|
caplog: pytest.LogCaptureFixture,
|
511
|
+
datagrabber: Dict[str, str],
|
482
512
|
) -> None:
|
483
513
|
"""Test queue without elements.
|
484
514
|
|
@@ -490,6 +520,8 @@ def test_queue_without_elements(
|
|
490
520
|
The pytest.MonkeyPatch object.
|
491
521
|
caplog : pytest.LogCaptureFixture
|
492
522
|
The pytest.LogCaptureFixture object.
|
523
|
+
datagrabber : dict
|
524
|
+
Testing datagrabber as dictionary.
|
493
525
|
|
494
526
|
"""
|
495
527
|
with monkeypatch.context() as m:
|
@@ -502,13 +534,24 @@ def test_queue_without_elements(
|
|
502
534
|
assert "Queue done" in caplog.text
|
503
535
|
|
504
536
|
|
505
|
-
def test_reset_run(
|
537
|
+
def test_reset_run(
|
538
|
+
tmp_path: Path,
|
539
|
+
datagrabber: Dict[str, str],
|
540
|
+
markers: List[Dict[str, str]],
|
541
|
+
storage: Dict[str, str],
|
542
|
+
) -> None:
|
506
543
|
"""Test reset function for run.
|
507
544
|
|
508
545
|
Parameters
|
509
546
|
----------
|
510
547
|
tmp_path : pathlib.Path
|
511
548
|
The path to the test directory.
|
549
|
+
datagrabber : dict
|
550
|
+
Testing datagrabber as dictionary.
|
551
|
+
markers : list of dict
|
552
|
+
Testing markers as list of dictionary.
|
553
|
+
storage : dict
|
554
|
+
Testing storage as dictionary.
|
512
555
|
|
513
556
|
"""
|
514
557
|
# Create storage
|
@@ -535,7 +578,12 @@ def test_reset_run(tmp_path: Path) -> None:
|
|
535
578
|
),
|
536
579
|
)
|
537
580
|
def test_reset_queue(
|
538
|
-
tmp_path: Path,
|
581
|
+
tmp_path: Path,
|
582
|
+
monkeypatch: pytest.MonkeyPatch,
|
583
|
+
datagrabber: Dict[str, str],
|
584
|
+
markers: List[Dict[str, str]],
|
585
|
+
storage: Dict[str, str],
|
586
|
+
job_name: str,
|
539
587
|
) -> None:
|
540
588
|
"""Test reset function for queue.
|
541
589
|
|
@@ -545,6 +593,12 @@ def test_reset_queue(
|
|
545
593
|
The path to the test directory.
|
546
594
|
monkeypatch : pytest.MonkeyPatch
|
547
595
|
The pytest.MonkeyPatch object.
|
596
|
+
datagrabber : dict
|
597
|
+
Testing datagrabber as dictionary.
|
598
|
+
markers : list of dict
|
599
|
+
Testing markers as list of dictionary.
|
600
|
+
storage : dict
|
601
|
+
Testing storage as dictionary.
|
548
602
|
job_name : str
|
549
603
|
The parametrized job name.
|
550
604
|
|
junifer/data/coordinates.py
CHANGED
@@ -138,7 +138,7 @@ def register_coordinates(
|
|
138
138
|
voi_names : list of str
|
139
139
|
The names of the VOIs.
|
140
140
|
space : str
|
141
|
-
The space of the coordinates.
|
141
|
+
The space of the coordinates, for e.g., "MNI".
|
142
142
|
overwrite : bool, optional
|
143
143
|
If True, overwrite an existing list of coordinates with the same name.
|
144
144
|
Does not apply to built-in coordinates (default False).
|