ImageD11.guicommand module#
- class ImageD11.guicommand.guicommand#
Bases:
objectKeeps a log of all commands issued - separates gui code from algorithmical code
- execute(obj, command, *args, **kwds)#
Pass in object as string [peakmerger|transformer|indexer] Pass in command as string, getattr(command) will be used Returns the return value of the function….
- TODOchange this interface???
- egworks - returns True
you look for self.lastreturned
- fails - returns False
you look for self.lasttraceback
- getdata(obj, name)#
Allows access to “live” data in the objects wrapped
By passing references back you can circumvent the cleanliness of the interface. Please dont.
Returns object.name
- gethistory()#
Returns the history of commands run by the gui commander