This should be a nice short term fix.  This can be redesigned in the
future to use more of the functionality already present in relax, i.e.
all the select and deselect user fns.

Cheers,

Edward




On 12 April 2010 04:37,  <[email protected]> wrote:
> Author: michaelbieri
> Date: Mon Apr 12 04:37:43 2010
> New Revision: 11062
>
> URL: http://svn.gna.org/viewcvs/relax?rev=11062&view=rev
> Log:
> relaxGUI creates a dummy file for unresolved spins that will be used in 
> relax_fit.py
>
> Modified:
>    branches/bieri_gui/gui_bieri/analyses/auto_rx_base.py
>
> Modified: branches/bieri_gui/gui_bieri/analyses/auto_rx_base.py
> URL: 
> http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/analyses/auto_rx_base.py?rev=11062&r1=11061&r2=11062&view=diff
> ==============================================================================
> --- branches/bieri_gui/gui_bieri/analyses/auto_rx_base.py (original)
> +++ branches/bieri_gui/gui_bieri/analyses/auto_rx_base.py Mon Apr 12 04:37:43 
> 2010
> @@ -26,6 +26,7 @@
>
>  # Python module imports.
>  from os import sep
> +from string import replace
>  import sys
>  import thread
>  import time
> @@ -34,6 +35,7 @@
>  # relax module imports.
>  from auto_analyses.relax_fit import Relax_fit
>  from data import Relax_data_store; ds = Relax_data_store()
> +from relax_io import DummyFileObject
>
>  # relaxGUI module imports.
>  from gui_bieri.analyses.project import open_file
> @@ -265,7 +267,12 @@
>         data.mc_num = 500
>
>         # Unresolved resiudes
> -        data.unresolved = self.data.unresolved
> +        file = DummyFileObject
> +        entries = self.data.unresolved
> +        entries = replace(entries, ',', '\n')
> +        file.write(entries)
> +        file.close()
> +        data.unresolved = file
>
>         # Structure File
>         data.structure_file = self.data.structure_file
>
>
> _______________________________________________
> relax (http://nmr-relax.com)
>
> This is the relax-commits mailing list
> [email protected]
>
> 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
>

_______________________________________________
relax (http://nmr-relax.com)

This is the relax-devel mailing list
[email protected]

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-devel

Reply via email to