Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 24, 2024
1 parent b2ddb37 commit 8cf28e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RMtools_3D/RMpeakfit_3D.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def remove_header_third_fourth_axis(header):

for key in keys_to_remove:
# Header can dynamically change when keys are removed so use pop
header.pop(key, None)
header.pop(key, None)

# Set correct NAXIS
header["NAXIS"] = 2
Expand Down

0 comments on commit 8cf28e0

Please sign in to comment.