Skip to content
Snippets Groups Projects
Commit e1049f10 authored by Giuseppe Carboni's avatar Giuseppe Carboni
Browse files

Now the derotator does not cause the track command to fail, issue #328

parent 7c415452
No related branches found
No related tags found
No related merge requests found
...@@ -155,7 +155,9 @@ class Positioner(object): ...@@ -155,7 +155,9 @@ class Positioner(object):
elif str(axis) == 'MNG_BEAMPARK': elif str(axis) == 'MNG_BEAMPARK':
return (True, stime) return (True, stime)
elif self.conf.getAttribute('DynamicUpdatingAllowed') != 'true': elif self.conf.getAttribute('DynamicUpdatingAllowed') != 'true':
raise NotAllowedError('dynamic updating not allowed') # FIXED configuration, should return ready even if the derotator
# will not actually move
return (True, stime)
elif not self.siteInfo: elif not self.siteInfo:
raise NotAllowedError('no site information available') raise NotAllowedError('no site information available')
elif str(sector) not in sectors: elif str(sector) not in sectors:
...@@ -232,7 +234,9 @@ class Positioner(object): ...@@ -232,7 +234,9 @@ class Positioner(object):
elif str(axis) == 'MNG_BEAMPARK': elif str(axis) == 'MNG_BEAMPARK':
pass # Do nothing pass # Do nothing
elif self.conf.getAttribute('DynamicUpdatingAllowed') != 'true': elif self.conf.getAttribute('DynamicUpdatingAllowed') != 'true':
logger.logNotice('dynamic updating not allowed') # This log is pretty much useless
# logger.logNotice('dynamic updating not allowed')
pass
elif not self.siteInfo: elif not self.siteInfo:
raise NotAllowedError('no site information available') raise NotAllowedError('no site information available')
elif not self.source: elif not self.source:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment