Skip to content

Commit

Permalink
Fix import of EfdClient
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisherlevine committed Feb 15, 2024
1 parent 7bb4630 commit 8366d50
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion python/lsst/summit/utils/m1m3/inertia_compensation_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,17 @@
from astropy import units as u
from astropy.time import Time

from lsst.summit.utils.efdUtils import EfdClient, getEfdData
from lsst.summit.utils.efdUtils import getEfdData
from lsst.summit.utils.tmaUtils import TMAEvent, TMAEventMaker
from lsst.ts.xml.tables.m1m3 import FATABLE_XFA, FATABLE_YFA, FATABLE_ZFA, HP_COUNT

HAS_EFD_CLIENT = True
try:
from lsst_efd_client import EfdClient
except ImportError:
EfdClient = None # this is currently just for mypy
HAS_EFD_CLIENT = False

__all__ = [
"M1M3ICSAnalysis",
"find_adjacent_true_regions",
Expand Down

0 comments on commit 8366d50

Please sign in to comment.