示例#1
0
def init(self):
    """Initializes the Instrument object with instrument specific values.

    Runs once upon instantiation.

    """

    # Set the appropraite acknowledgements and references
    self.acknowledgements = mm_ace.acknowledgements(self.platform)
    self.references = mm_ace.references(self.inst_id)

    logger.info(self.acknowledgements)

    return
 def test_acknowledgements(self):
     """ Test the ACE acknowledgements """
     self.out = mm_ace.acknowledgements()
     assert self.out.find('ACE') >= 0
     return