Skip to content

Commit

Permalink
add import exception for eat when not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
dpesce committed May 2, 2024
1 parent a0ead2f commit 528735b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ngehtsim/calibration/calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
import ngehtsim.const_def as const
from astropy.time import Time
import copy
from eat.io.hops import read_alist
try:
from eat.io.hops import read_alist
except ImportError:
print('Warning: eat not installed! Cannot use calibration functionality.')
import pandas as pd

###################################################
Expand Down

0 comments on commit 528735b

Please sign in to comment.