Skip to content

Commit

Permalink
Better catch
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecThomson committed May 22, 2024
1 parent 3e8d6f0 commit d75c255
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions arrakis/rmclean_oncuts.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,11 @@ def rmclean1d(
raise FileNotFoundError(f"File does not exist: '{f}'")

nBits = 32
mDict, aDict = do_RMclean_1D.readFiles(
fdfFile, rmsfFile, weightFile, rmSynthFile, nBits
)

# Run RM-CLEAN on the spectrum
try:
mDict, aDict = do_RMclean_1D.readFiles(
fdfFile, rmsfFile, weightFile, rmSynthFile, nBits
)
# Run RM-CLEAN on the spectrum
outdict, arrdict = do_RMclean_1D.run_rmclean(
mDict=mDict,
aDict=aDict,
Expand Down

0 comments on commit d75c255

Please sign in to comment.