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 Aug 14, 2024
1 parent 8415fc2 commit 41996b8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions RMtools_3D/do_RMsynth_3D.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,8 @@ def writefits(

hdu3 = pf.PrimaryHDU(
# np.expand_dims(fwhmRMSFCube.astype(dtFloat), axis=0), rmsffwhm_header
fwhmRMSFCube.astype(dtFloat), rmsffwhm_header
fwhmRMSFCube.astype(dtFloat),
rmsffwhm_header,
)
fitsFileOut = outDir + "/" + prefixOut + "RMSF_FWHM.fits"
if verbose:
Expand All @@ -555,7 +556,8 @@ def writefits(
hdu2 = pf.ImageHDU(np.abs(RMSFcube).astype(dtFloat), header)
hdu3 = pf.ImageHDU(
# np.expand_dims(fwhmRMSFCube.astype(dtFloat), axis=0), rmsffwhm_header
fwhmRMSFCube.astype(dtFloat), rmsffwhm_header
fwhmRMSFCube.astype(dtFloat),
rmsffwhm_header,
)

fitsFileOut = outDir + "/" + prefixOut + "RMSF.fits"
Expand Down

0 comments on commit 41996b8

Please sign in to comment.