Skip to content

Commit

Permalink
Fix lintering
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhixiaoSu committed Nov 19, 2024
1 parent 5853028 commit 1865c35
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/aind_ephys_rig_qc/qc_figures.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def plot_drift(directory, stream_name, block_index=0):

"""set parameters for drift visualization"""
visualization_drift_file = "driftmap.json"
with open(visualization_drift_file, 'r') as file:
with open(visualization_drift_file, "r") as file:
visualization_drift_params = json.load(file)

print(visualization_drift_params)
Expand Down Expand Up @@ -205,8 +205,9 @@ def plot_drift(directory, stream_name, block_index=0):
)
# phase shift
if visualization_drift_params["phase_shift"] is not None:
recording = spre.phase_shift(recording,
**visualization_drift_params["phase_shift"])
recording = spre.phase_shift(
recording, **visualization_drift_params["phase_shift"]
)
# high-pass filter
recording = spre.highpass_filter(
recording, **visualization_drift_params["highpass_filter"]
Expand Down

0 comments on commit 1865c35

Please sign in to comment.