Skip to content

Commit 84b834b

Browse files
committed
fixed incorrect doc strings.
1 parent 3c3ce9c commit 84b834b

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

src/aspire/downloader/data_fetcher.py

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,18 @@ def fetch_data(dataset_name):
6464

6565
def download_all():
6666
"""
67-
Download all ASPIRE example data and return a dictionary of filepaths.
67+
Download all ASPIRE example data and return a dictionary of files.
6868
69-
:return: A dictionary of method names and associated file paths.
69+
:return: A dictionary of method names and associated files.
7070
"""
7171

72-
file_paths = {}
72+
items = {}
7373
for data_set in registry:
74-
path = fetch_data(data_set)
74+
item = fetch_data(data_set)
7575
name = file_to_method_map[data_set]
76-
file_paths[name] = path
76+
items[name] = item
7777

78-
return file_paths
78+
return items
7979

8080

8181
def remove_downloads():
@@ -111,7 +111,7 @@ def emdb_2660():
111111

112112
def emdb_8012():
113113
"""
114-
Downloads the EMDB-8012 volume map and returns the file path.
114+
Downloads the EMDB-8012 volume map and returns a `Volume` instance.
115115
116116
The overall structure of the yeast spliceosomal U4/U6.U5 tri-snRNP at 3.7 Angstrom.
117117
@@ -125,7 +125,7 @@ def emdb_8012():
125125

126126
def emdb_2984():
127127
"""
128-
Downloads the EMDB-2984 volume map and returns the file path.
128+
Downloads the EMDB-2984 volume map and returns a `Volume` instance.
129129
130130
2.2 A resolution cryo-EM structure of beta-galactosidase in complex with a cell-permeant inhibitor.
131131
This molecule exhibits D2 symmetry.
@@ -140,7 +140,7 @@ def emdb_2984():
140140

141141
def emdb_8511():
142142
"""
143-
Downloads the EMDB-8511 volume map and returns the file path.
143+
Downloads the EMDB-8511 volume map and returns a `Volume` instance.
144144
145145
Structure of the human HCN1 hyperpolarization-activated cyclic nucleotide-gated ion channel.
146146
This molecule exhibits C4 symmetry.
@@ -155,7 +155,7 @@ def emdb_8511():
155155

156156
def emdb_3645():
157157
"""
158-
Downloads the EMDB-3645 volume map and returns the file path.
158+
Downloads the EMDB-3645 volume map and returns a `Volume` instance.
159159
160160
CryoEM density of TcdA1 in prepore state (SPHIRE tutorial).
161161
This molecule exhibits C5 symmetry.
@@ -170,7 +170,7 @@ def emdb_3645():
170170

171171
def emdb_4905():
172172
"""
173-
Downloads the EMDB-4905 volume map and returns the file path.
173+
Downloads the EMDB-4905 volume map and returns a `Volume` instance.
174174
175175
3D structure of horse spleen apoferritin determined using multifunctional
176176
graphene supports for electron cryomicroscopy. This molecule exhibits octahedral symmetry.
@@ -185,7 +185,7 @@ def emdb_4905():
185185

186186
def emdb_10835():
187187
"""
188-
Downloads the EMDB-10835 volume map and returns the file path.
188+
Downloads the EMDB-10835 volume map and returns a `Volume` instance.
189189
190190
High resolution cryo-EM structure of urease from the pathogen Yersinia enterocolitica.
191191
This molecule exhibits tetrahedral symmetry.
@@ -200,7 +200,7 @@ def emdb_10835():
200200

201201
def emdb_5778():
202202
"""
203-
Downloads the EMDB-5778 volume map and returns the file path.
203+
Downloads the EMDB-5778 volume map and returns a `Volume` instance.
204204
205205
Structure of the capsaicin receptor, TRPV1, determined by single particle electron cryo-microscopy.
206206
This molecule exhibits C4 symmetry.
@@ -215,7 +215,7 @@ def emdb_5778():
215215

216216
def emdb_6287():
217217
"""
218-
Downloads the EMDB-6287 volume map and returns the file path.
218+
Downloads the EMDB-6287 volume map and returns a `Volume` instance.
219219
220220
2.8 Angstrom resolution reconstruction of the T20S proteasome.
221221
This molecule exhibits D7 symmetry.
@@ -230,7 +230,7 @@ def emdb_6287():
230230

231231
def emdb_2824():
232232
"""
233-
Downloads the EMDB-2824 volume map and returns the file path.
233+
Downloads the EMDB-2824 volume map and returns a `Volume` instance.
234234
235235
Beta-galactosidase reconstruction.
236236
This molecule exhibits C2 symmetry.
@@ -245,7 +245,7 @@ def emdb_2824():
245245

246246
def emdb_14621():
247247
"""
248-
Downloads the EMDB-14621 volume map and returns the file path.
248+
Downloads the EMDB-14621 volume map and returns a `Volume` instance.
249249
250250
Map of SARSCoV2 spike protein.
251251
This molecule exhibits C3 symmetry.
@@ -260,7 +260,7 @@ def emdb_14621():
260260

261261
def emdb_2484():
262262
"""
263-
Downloads the EMDB-2484 volume map and returns the file path.
263+
Downloads the EMDB-2484 volume map and returns a `Volume` instance.
264264
265265
Pre-fusion structure of trimeric HIV-1 envelope glycoprotein determined by cryo-electron microscopy.
266266
This molecule exhibits C3 symmetry.
@@ -275,7 +275,7 @@ def emdb_2484():
275275

276276
def emdb_6458():
277277
"""
278-
Downloads the EMDB-6458 volume map and returns the file path.
278+
Downloads the EMDB-6458 volume map and returns a `Volume` instance.
279279
280280
Cryo-EM Structure of the Activated NAIP2/NLRC4 Inflammasome Reveals Nucleated Polymerization.
281281
This molecule exhibits C11 symmetry.
@@ -290,7 +290,7 @@ def emdb_6458():
290290

291291
def emdb_14803():
292292
"""
293-
Downloads the EMDB-14803 volume map and returns the file path.
293+
Downloads the EMDB-14803 volume map and returns a `Volume` instance.
294294
295295
This molecule exhibits D3 symmetry.
296296
@@ -304,7 +304,7 @@ def emdb_14803():
304304

305305
def emdb_3952():
306306
"""
307-
Downloads the EMDB-3952 volume map and returns the file path.
307+
Downloads the EMDB-3952 volume map and returns a `Volume` instance.
308308
309309
This molecule exhibits I symmetry.
310310
@@ -318,7 +318,7 @@ def emdb_3952():
318318

319319
def emdb_22308():
320320
"""
321-
Downloads the EMDB-22308 volume map and returns the file path.
321+
Downloads the EMDB-22308 volume map and returns a `Volume` instance.
322322
323323
This molecule exhibits D4 symmetry.
324324
@@ -332,7 +332,7 @@ def emdb_22308():
332332

333333
def emdb_28025():
334334
"""
335-
Downloads the EMDB-28025 volume map and returns the file path.
335+
Downloads the EMDB-28025 volume map and returns a `Volume` instance.
336336
337337
This molecule exhibits D5 symmetry.
338338
@@ -346,7 +346,7 @@ def emdb_28025():
346346

347347
def emdb_22358():
348348
"""
349-
Downloads the EMDB-22358 volume map and returns the file path.
349+
Downloads the EMDB-22358 volume map and returns a `Volume` instance.
350350
351351
This molecule exhibits D6 symmetry.
352352
@@ -360,7 +360,7 @@ def emdb_22358():
360360

361361
def emdb_9571():
362362
"""
363-
Downloads the EMDB-9571 volume map and returns the file path.
363+
Downloads the EMDB-9571 volume map and returns a `Volume` instance.
364364
365365
This molecule exhibits D8 symmetry.
366366
@@ -374,7 +374,7 @@ def emdb_9571():
374374

375375
def emdb_10920():
376376
"""
377-
Downloads the EMDB-10920 volume map and returns the file path.
377+
Downloads the EMDB-10920 volume map and returns a `Volume` instance.
378378
379379
This molecule exhibits D10 symmetry.
380380
@@ -388,7 +388,7 @@ def emdb_10920():
388388

389389
def simulated_channelspin():
390390
"""
391-
Downloads the Simulated ChannelSpin dataset and returns the file path.
391+
Downloads the Simulated ChannelSpin dataset and returns a `Volume` instance.
392392
393393
This dataset includes a stack of 54 volumes sized (54,54,54)
394394
and a corresponding stack of 10000 projection images (54,54).

0 commit comments

Comments
 (0)