Skip to content

Commit 6456595

Browse files
rename fun to populate_ctf
1 parent 6ebf09f commit 6456595

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/aspire/source/coordinates.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,15 +276,15 @@ def import_ctf(self, ctf):
276276
ctf_values = np.zeros((self.n, len(ctf_cols)))
277277

278278
if isinstance(ctf, str):
279-
fun = self._populate_ctf_from_relion
279+
populate_ctf = self._populate_ctf_from_relion
280280
elif isinstance(ctf, list):
281-
fun = self._populate_ctf_from_list
281+
populate_ctf = self._populate_ctf_from_list
282282
else:
283283
raise ValueError(
284284
"Argument to import_ctf() must be a path or a list of paths"
285285
)
286286

287-
filters, filter_indices, mrc_filepaths, mrc_indices, ctf_values = fun(
287+
filters, filter_indices, mrc_filepaths, mrc_indices, ctf_values = populate_ctf(
288288
ctf,
289289
ctf_cols,
290290
filters,

0 commit comments

Comments
 (0)