Skip to content

Commit 584a131

Browse files
committed
Cleanup flake8 issues.
1 parent 78c0527 commit 584a131

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

src/aspire/commands/estimate_ctf.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
import click
44

5-
logger = logging.getLogger("aspire")
6-
75
from aspire import ctf
86

7+
logger = logging.getLogger("aspire")
8+
99

1010
@click.command()
1111
@click.option("--data_folder", default=None, help="Path to mrc or mrcs files")
@@ -33,7 +33,11 @@
3333
"--g_max", default=5, type=float, help="Inverse of maximum resolution for PSD"
3434
)
3535
@click.option("--corr", default=1, type=float, help="Select method")
36-
@click.option("--output_dir", default="results", help="Path to output files, defaults to './results'")
36+
@click.option(
37+
"--output_dir",
38+
default="results",
39+
help="Path to output files, defaults to './results'",
40+
)
3741
@click.option(
3842
"--dtype",
3943
default="float32",

src/aspire/ctf/estimate_ctf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import logging
22
import os
33

4-
import click
54
import mrcfile
65
import numpy as np
76

tests/test_CtfEstimate.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import logging
12
import os
23
import tempfile
34
from shutil import copyfile
@@ -7,6 +8,8 @@
78

89
from aspire.ctf import estimate_ctf
910

11+
logger = logging.getLogger(__name__)
12+
1013
DATA_DIR = os.path.join(os.path.dirname(__file__), "saved_test_data")
1114

1215

0 commit comments

Comments
 (0)