Commit 23ede9d0 authored by Jose Tiago Macara Coutinho's avatar Jose Tiago Macara Coutinho Committed by blissadm_ID31@bibhelm
Browse files

SPEC config: specialize raw icepap axis custom parameter configuration

parent a5490a3b
......@@ -540,7 +540,7 @@ class Generator(object):
accel = cfg.pop('accel'))
settings = HashSetting('axis.' + config_name)
spec_motor.setSettings(*self.__settings_to_spec(config, settings))
for k, v in cfg.items():
for k, v in cfg.get('parameters', {}).items():
spec_motor.addPar('MOTPAR:{0} = {1}'.format(k, v))
self.spec_config.addMotor(spec_motor)
ctrl.addChannel(chan)
......
Supports Markdown
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