Oh yeah, it is too.  Sorry, I missed that.

Regards,

Edward


On 28 April 2010 00:21, Michael Bieri <[email protected]> wrote:
> Sorry, this was already done by synchronizing the GUI with the data storage
> (see sync_ds() ). The entries are not read from the GUI, but from the relax
> data storage, so it was already converted into string.
>
> Cheers
>
>
> Edward d'Auvergne wrote:
>>
>> Hi,
>>
>> Should "entries = self.data.unresolved" be replaced by "entries =
>> str(self.data.unresolved)" to avoid Unicode issues?
>>
>> Regards,
>>
>> Edward
>>
>>
>> On 22 April 2010 06:36,  <[email protected]> wrote:
>>
>>>
>>> Author: michaelbieri
>>> Date: Thu Apr 22 06:36:10 2010
>>> New Revision: 11117
>>>
>>> URL: http://svn.gna.org/viewcvs/relax?rev=11117&view=rev
>>> Log:
>>> Dummy file is created for unresolved residues.
>>>
>>> Modified:
>>>   branches/bieri_gui/gui_bieri/analyses/auto_model_free.py
>>>
>>> Modified: branches/bieri_gui/gui_bieri/analyses/auto_model_free.py
>>> URL:
>>> http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/analyses/auto_model_free.py?rev=11117&r1=11116&r2=11117&view=diff
>>>
>>> ==============================================================================
>>> --- branches/bieri_gui/gui_bieri/analyses/auto_model_free.py (original)
>>> +++ branches/bieri_gui/gui_bieri/analyses/auto_model_free.py Thu Apr 22
>>> 06:36:10 2010
>>> @@ -34,6 +34,8 @@
>>>  # relax module imports.
>>>  from auto_analyses.dauvergne_protocol import dAuvergne_protocol
>>>  from data import Relax_data_store; ds = Relax_data_store()
>>> +from relax_io import DummyFileObject
>>> +
>>>
>>>  # relax GUI module imports.
>>>  from gui_bieri.analyses.results_analysis import model_free_results,
>>> see_results
>>> @@ -558,10 +560,13 @@
>>>            data.relax_data.append(['R2', str(frq), float(frq)*1e6,
>>> files[2], None, None, 2, 3, 4, 5, 6, 7, None])
>>>            data.relax_data.append(['NOE', str(frq), float(frq)*1e6,
>>> files[0], None, None, 2, 3, 4, 5, 6, 7, None])
>>>
>>> -        # The file containing the list of unresolved spins to exclude
>>> from the analysis (set this to None if no spin is to be excluded).
>>> -        # FIXME:  The unresolved file is not properly handled!
>>> -        data.unres = self.data.results_dir_model + sep + 'unresolved'
>>> -        data.unres = None
>>> +        # Unresolved resiudes
>>> +        file = DummyFileObject()
>>> +        entries = self.data.unresolved
>>> +        entries = replace(entries, ',', '\n')
>>> +        file.write(entries)
>>> +        file.close()
>>> +        data.unres = file
>>>
>>>        # A file containing a list of spins which can be dynamically
>>> excluded at any point within the analysis (when set to None, this variable
>>> is not used).
>>>        data.exclude = None
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>>
>

_______________________________________________
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