[chimera-dev] automatic checkForChanges
Eric Pettersen
pett at cgl.ucsf.edu
Tue Sep 2 17:33:46 PDT 2003
I didn't get any negative feedback to this suggestion, so I'll be
implementing it soon.
--Eric
On Wednesday, August 27, 2003, at 01:47 PM, Eric Pettersen wrote:
> I'd like to suggest that chimera.openModels.{open,add,close} all
> automatically run chimera.update.checkForChanges() as they finish
> (suppressable by supplying a 'checkForChanges=False' keyword argument
> to the functions). Right now, developers who aren't "in the know"
> will write scripts that loop through structures, opening and closing
> them and performing operations, and because they don't know to call
> checkForChanges the scripts will typically fail due to running out of
> memory. Also, some other operations (surfacing) will fail if
> checkForChanges isn't called after a model is opened.
>
> There are other times when checkForChanges needs to run, but those are
> relatively rare compared to these openModels functions. It seems to
> me that making this change makes normal scripting less error-prone
> while allowing for the uncommon case of wanting to suppress the
> checkForChanges.
>
> Opinions?
>
> Eric Pettersen
> UCSF Computer Graphics Lab
> pett at cgl.ucsf.edu
> http://www.cgl.ucsf.edu
>
> _______________________________________________
> Chimera-dev mailing list
> Chimera-dev at cgl.ucsf.edu
> http://www.cgl.ucsf.edu/mailman/listinfo/chimera-dev
More information about the Chimera-dev
mailing list