22 from lsst.daf.butler
import Butler
23 from ..utils
import getInstrument
27 """Add an instrument to the data repository.
32 URI to the location to create the repo.
34 The fully-qualified name of an Instrument subclass.
39 If the instrument can not be imported, instantiated, or obtained from
42 If the instrument is not a subclass of lsst.obs.base.Instrument.
44 butler = Butler(repo, writeable=
True)
46 instr.register(butler.registry)