Skip to content

Commit

Permalink
Switch controller to S for imsim and phosim
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Feb 4, 2020
1 parent d0a38fb commit e0837e1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions python/lsst/obs/lsst/imsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ class ImsimParseTask(LsstCamParseTask):
_translatorClass = ImsimTranslator

def translate_controller(self, md):
"""Always return OCS as controller for imsim data."""
return "O"
"""Always return Simulation as controller for imsim data."""
return "S"
4 changes: 2 additions & 2 deletions python/lsst/obs/lsst/phosim.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ class PhosimParseTask(LsstCamParseTask):
_translatorClass = PhosimTranslator

def translate_controller(self, md):
"""Always return OCS as controller for imsim data."""
return "O"
"""Always return Simulation as controller for imsim data."""
return "S"


class PhosimEimgParseTask(PhosimParseTask):
Expand Down
6 changes: 3 additions & 3 deletions tests/test_parsetask.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def test_parsetask_imsim_translator(self):
detectorName='S20',
detector=42,
snap=0,
controller="O",
controller="S",
obsid="204595",
expGroup="204595",
)),
Expand All @@ -307,7 +307,7 @@ def test_parsetask_phosim_translator(self):
filter='i',
visit=204595,
expId=204595,
controller="O",
controller="S",
obsid="204595",
expGroup="204595",
)),
Expand All @@ -334,7 +334,7 @@ def test_parsetask_phosim_eimg_translator(self):
filter='g',
visit=9006002,
expId=9006002,
controller="O",
controller="S",
obsid="9006002",
expGroup="9006002",
)),
Expand Down

0 comments on commit e0837e1

Please sign in to comment.