GitLab will be upgraded on June 23rd evening. During the upgrade the service will be unavailable, sorry for the inconvenience.

Commit 6425bc49 authored by bliss administrator's avatar bliss administrator

Correction of imports with the latest Bliss version.

parent 07f7c8c4
......@@ -7,10 +7,11 @@ import datetime
from bliss import setup_globals, global_map
from bliss.common import mapping, scans
from bliss.common import session
from bliss.common.scans import dscan, DEFAULT_CHAIN, plotselect, goto_peak
from bliss.common.scans import dscan
from bliss.common.logtools import log_info, log_debug, log_error
from bliss.common.cleanup import cleanup, error_cleanup, capture_exceptions
from bliss.shell.standard import umv, umvr
from bliss.scanning.scan_tools import peak, goto_peak
from bliss.shell.standard import umv, umvr, mv, plotselect
from bliss.config.settings import ParametersWardrobe
......@@ -190,7 +191,7 @@ class Id19Mono(MonochromatorBase):
def __info__(self):
info_str = ("---------------------------------------------------------\n")
info_str += ("mono mode : %s \n" % self.modes[self.get_mode()]["description"])
info_str += ("mono mode : %s \n" % self.modes[self.mode]["description"])
info_str += ("mono energy : %g \n" % self.parameters.energy )
info_str += ("xtal name : %s \n" % self.get_crystal() )
info_str += ("------------------- MONO MOTORS -------------------------\n")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment