Hi, That is the correct function to call. Hmmm, maybe I should have changed all instances of 'self.relax.IO.mkdir' to 'relax_io.mkdir_nofail' after converting the method to a function and renaming it. Regards, Edward On Wed, Jul 30, 2008 at 8:55 PM, <sebastien.morin.1@xxxxxxxxx> wrote:
Author: semor Date: Wed Jul 30 20:54:50 2008 New Revision: 7034 URL: http://svn.gna.org/viewcvs/relax?rev=7034&view=rev Log: More conversions to the new design. Modified: 1.3/generic_fns/dasha.py Modified: 1.3/generic_fns/dasha.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/dasha.py?rev=7034&r1=7033&r2=7034&view=diff ============================================================================== --- 1.3/generic_fns/dasha.py (original) +++ 1.3/generic_fns/dasha.py Wed Jul 30 20:54:50 2008 @@ -80,9 +80,9 @@ raise RelaxError, "The Dasha optimisation algorithm " + `algor` + " is unknown, it should either be 'LM' or 'NR'." # Directory creation. - if self.dir == None: - self.dir = self.run - self.relax.IO.mkdir(self.dir, verbosity=0) + if dir == None: + dir = pipe + mkdir_nofail(dir, verbosity=0) # Number of field strengths and values. self.num_frq = 0 _______________________________________________ relax (http://nmr-relax.com) This is the relax-commits mailing list relax-commits@xxxxxxx To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-commits