Commit a5e81fe1 authored by ahoms's avatar ahoms
Browse files

* fixed bug reseting the CtSaving saving mode to manual in setFilePar


git-svn-id: https://scm.blissgarden.org/svn/lima/trunk@216 45c4679d-1946-429d-baad-37912b19538b
parent 930768cd
...@@ -181,7 +181,8 @@ class FrelonTacoAcq(TacoCcdAcq): ...@@ -181,7 +181,8 @@ class FrelonTacoAcq(TacoCcdAcq):
@DEB_MEMBER_FUNCT @DEB_MEMBER_FUNCT
def setFilePar(self, par_arr): def setFilePar(self, par_arr):
deb.Param('Setting file pars: %s' % par_arr) deb.Param('Setting file pars: %s' % par_arr)
pars = CtSaving.Parameters() ct_saving = self.m_acq.getSavingControl()
pars = ct_saving.getParameters()
pars.directory = par_arr[0] pars.directory = par_arr[0]
pars.prefix = par_arr[1] pars.prefix = par_arr[1]
pars.suffix = par_arr[2] pars.suffix = par_arr[2]
...@@ -195,7 +196,6 @@ class FrelonTacoAcq(TacoCcdAcq): ...@@ -195,7 +196,6 @@ class FrelonTacoAcq(TacoCcdAcq):
pars.fileFormat = CtSaving.EDF pars.fileFormat = CtSaving.EDF
else: else:
pars.fileFormat = CtSaving.RAW pars.fileFormat = CtSaving.RAW
ct_saving = self.m_acq.getSavingControl()
ct_saving.setParameters(pars) ct_saving.setParameters(pars)
@DEB_MEMBER_FUNCT @DEB_MEMBER_FUNCT
......
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