Dear All (developers again mostly!)
I have now imported both distance constraint lists and dihedral
restraint lists into analysis and now having problems with
argServer.chooseObject
specifically if i do
constraint_list = argServer.chooseObject(contraint_store.constraintLists)
it raises the exception
Traceback (most recent call last):
File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
return self.func(*args)
File
"/home/garyt/programs/ccpn/1.0.12/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py",
line 854, in <lambda>
menu.add_command(label=macro.name, command=lambda m=macro:
self.runMacro(m))
File
"/home/garyt/programs/ccpn/1.0.12/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py",
line 873, in runMacro
command.run()
File
"/home/garyt/programs/ccpn/1.0.12/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/ccp/general/Command.py",
line 83, in run
File
"/home/garyt/programs/ccpn/1.0.12/macros/structure_violations.py", line
16, in structure_set_violations
constraint_list =
argServer.chooseObject(contraint_store.constraintLists)
File
"/home/garyt/programs/ccpn/1.0.12/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/ArgumentServer.py",
line 127, in chooseObject
return self.chooseObjectDialog(objects, key=key, labels=labels,
objectName=objectName)
File
"/home/garyt/programs/ccpn/1.0.12/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/ArgumentServer.py",
line 134, in objectSelectionPopup
self.popup.update(objects,key=key,labels=labels,objectName=objectName)
File
"/home/garyt/programs/ccpn/1.0.12/temporaryReleaseDir/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/SelectObjectPopup.py",
line 190, in update
raise 'Objects in ObjectSelectionPopup input must be of the same type.'
Objects in ObjectSelectionPopup input must be of the same type.
now i can see why it does this and what the problem is but is there a
way to get/work round it other than filtering by class type?
regards
gary
--
-------------------------------------------------------------------
Dr Gary Thompson
Astbury Centre for Structural Molecular Biology,
University of Leeds, Astbury Building,
Leeds, LS2 9JT, West-Yorkshire, UK Tel. +44-113-3433024
email: [log in to unmask] Fax +44-113-2331407
-------------------------------------------------------------------
|