Thanks Andre - but destroystack is not the issue. For instance: delete stack "test"
closes and removes a stack from memory (for a mainstack not substack) regardless of the destroystack/window status or whether the stack is used as a library. The issue is that it does not always work - and I could not track down why. Thought I would post my findings... there are two reasons i know of when using "delete stack" does not work: 1. you are using and external (not quiet sure exactly the issues here) 2. a script is being edited (not sure if this is just Galaxy but suspect it is any editor but do not understand why as its just text in a field?) I need as full proof a way as possible way to close a stack. To do that it si important to understand in detail why editing a script or using and external from within a stack might prevent deleting the stack from memory. 2008/7/29 Andre Garzia <[EMAIL PROTECTED]> > David, > > you must set the destroyStack property to true if you want it to be > removed from memory I think. Like: > > set the destroystack of stack "Test" to true > close stack "test" > > Andre > > On Mon, Jul 28, 2008 at 5:37 PM, David Bovill <[EMAIL PROTECTED]> > wrote: > > What is a reliable way to delete a stack from memory? > > > > delete stack "test" > > > > > > can fail. I have a stack that was a library stack, contians no back or > front > > scripts, that uses no externals but I cannot delete from memory. > > > > I am wandering if it could be due to having used shell commands that > somehow > > have not closed properly - they are certainly not active. Is there > anything > > I should look for, or any way to force a stack to be removed from memory? > > > > Ah seem to have found the answer.... make sure a script is not being > edited > > or open in a tabbed script window in Galaxy script editor! This is the > case > > even if the window of the script editor is closed! So now to figure out > how > > to script the closing of any open Script Editors.... or to give up the > idea > > of being able to reliably close a stack using script in the IDE? > > > > Any thoughts? I have a script which needs to make sure a particular stack > is > > saved and removed from memory before it runs. > > _______________________________________________ > > use-revolution mailing list > > [email protected] > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
