Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-rakowski committed Nov 10, 2023
1 parent 0b20634 commit d3ccf03
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions py4DSTEM/braggvectors/diskdetection_aiml.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def find_Bragg_disks_aiml_single_DP(
Returns:
(PointList): the Bragg peak positions and correlation intensities
"""
"""
if find_spec("crystal4D") is None:
raise ImportError("Import Error: Please install crystal4D before proceeding")
try:
Expand Down Expand Up @@ -251,7 +251,6 @@ def find_Bragg_disks_aiml_selected(
"""

if find_spec("crystal4D") is None:

raise ImportError("Import Error: Please install crystal4D before proceeding")

assert len(Rx) == len(Ry)
Expand Down
1 change: 0 additions & 1 deletion py4DSTEM/process/calibration/qpixelsize.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from scipy.optimize import leastsq



def get_Q_pixel_size(q_meas, q_known, units="A"):
"""
Computes the size of the Q-space pixels.
Expand Down
4 changes: 3 additions & 1 deletion py4DSTEM/process/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
import matplotlib.font_manager as fm

from emdfile import tqdmnd
from py4DSTEM.preprocess.utils import make_Fourier_coords2D # TODO this is defined later
from py4DSTEM.preprocess.utils import (
make_Fourier_coords2D,
) # TODO this is defined later

try:
from IPython.display import clear_output
Expand Down

0 comments on commit d3ccf03

Please sign in to comment.