[chimera-dev] volume eraser

Tom Goddard goddard at sonic.net
Fri Mar 7 10:22:57 PST 2014


Hi Matt,

  Better to do it this way:

	from VolumeEraser import gui
	d = gui.volume_eraser_dialog()
	d.erase_inside_sphere()

The way you are doing will create a new dialog each time you run the code whereas the above will use the same dialog over and over.

	Tom

On Mar 6, 2014, at 4:53 PM, "Dougherty, Matthew T" wrote:

> never mind, got it
> 
> 
>        from VolumeEraser.gui import Volume_Eraser_Dialog
>        v=Volume_Eraser_Dialog()
>        Volume_Eraser_Dialog.Erase(v)
> 
> 
> Matthew Dougherty
> National Center for Macromolecular Imaging
> Baylor College of Medicine
> ________________________________________
> From: Dougherty, Matthew T
> Sent: Thursday, March 06, 2014 6:48 PM
> To: chimera-dev at cgl.ucsf.edu
> Subject: volume eraser
> 
> Hi,
> 
> I need some help as to how to call Erase() from VolumeEraser
> 
> I am thinking it is something like this, but I am unable to determine what xxxxx value should be.
> 
> from VolumeEraser.gui import Volume_Eraser_Dialog
> Volume_Eraser_Dialog.Erase(xxxxx)
> 
> 
> Matthew Dougherty
> National Center for Macromolecular Imaging
> Baylor College of Medicine
> 
> _______________________________________________
> Chimera-dev mailing list
> Chimera-dev at cgl.ucsf.edu
> http://www.rbvi.ucsf.edu/mailman/listinfo/chimera-dev
> 





More information about the Chimera-dev mailing list