Actions
Bug #4739
closedmakeDEAlignedSum.py still try to commit trajectory when no-commit is requested
Start date:
01/31/2017
Due date:
% Done:
0%
Estimated time:
Affected Version:
Appion/Leginon 3.3
Show in known bugs:
No
Workaround:
Description
Error when not commiting
Traceback (most recent call last): File "/home/acheng/myami/appion/bin/makeDEAlignedSum.py", line 7, in <module> makeSum.run() File "/home/acheng/myami/appion/appionlib/appionPBS.py", line 153, in run results=self.collectResults(jobdict['imgdata'],jobdict['targetdict']) File "/home/acheng/myami/appion/appionlib/makeDEAlignedSumLib.py", line 534, in collectResults self.commitFrameTrajectoryToDatabase(imgdata,particlelst,particle=None) File "/home/acheng/myami/appion/appionlib/makeDEAlignedSumLib.py", line 642, in commitFrameTrajectoryToDatabase q['ddstackrun']=self.rundata File "/home/acheng/myami/sinedon/data.py", line 526, in __setitem__ super(Data, self).__setitem__(key, value) File "/home/acheng/myami/sinedon/newdict.py", line 79, in __setitem__ value = validator(value) File "/home/acheng/myami/sinedon/data.py", line 326, in validator raise ValueError('need instance of %s, got %s instead' % (cls, type(value),)) ValueError: need instance of <class 'appionlib.appiondata.ApDDStackRunData'>, got <type 'dict'> instead
Actions