This is very strange bug, as ds.relax_gui.global_setting is a list, 
which has the be able to be indexed. I just let relax print out every 
step and in the first line it reads the list perfectly, but it cannot 
read the selected entry at once... Is this because of the empty class 
that stores the entries?

Edward d'Auvergne wrote:
> Would you know how I can reproduce this bug?
>
> Cheers,
>
> Edward
>
>
>
> On 13 April 2010 17:15, Edward d'Auvergne <[email protected]> wrote:
>   
>> Hi,
>>
>> This is very strange and I don't like the behaviour.  It is an
>> indication that something is very wrong.  This should in no way
>> happen.  I will investigate this strangeness and hunt down the real
>> bug.
>>
>> Regards,
>>
>> Edward
>>
>>
>> On 13 April 2010 00:47, Michael Bieri <[email protected]> wrote:
>>     
>>> Both lines were needed. Actually,
>>>
>>> ata.mc_num = ds.relax_gui.global_setting
>>>
>>> is more important than the following, as i has the list of settings.
>>> Somehow, I was not able to read only the number of simulations by
>>>
>>> ata.mc_num = ds.relax_gui.global_setting[6]
>>>
>>>
>>> I got the message than list index out of range.
>>>
>>>
>>> Edward d'Auvergne wrote:
>>>       
>>>> Hi,
>>>>
>>>> The line:
>>>>
>>>> +        data.mc_num = ds.relax_gui.global_setting
>>>>
>>>> is not needed and can be deleted.  Was including this a mistake?
>>>>
>>>> Cheers,
>>>>
>>>> Edward
>>>>
>>>>
>>>>
>>>> On 12 April 2010 06:56,  <[email protected]> wrote:
>>>>
>>>>         
>>>>> Author: michaelbieri
>>>>> Date: Mon Apr 12 06:56:04 2010
>>>>> New Revision: 11069
>>>>>
>>>>> URL: http://svn.gna.org/viewcvs/relax?rev=11069&view=rev
>>>>> Log:
>>>>> Corrected import of number of Monte Carlo simulations from relaxGUI 
>>>>> settings.
>>>>>
>>>>> 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=11069&r1=11068&r2=11069&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 
>>>>> 06:56:04 2010
>>>>> @@ -267,7 +267,8 @@
>>>>>         data.int_method = 'height'
>>>>>
>>>>>         # The number of Monte Carlo simulations to be used for error 
>>>>> analysis at the end of the analysis.
>>>>> -        data.mc_num = ds.relax_gui.global_setting[7]
>>>>> +        data.mc_num = ds.relax_gui.global_setting
>>>>> +        data.mc_num = data.mc_num[6]
>>>>>
>>>>>         # Unresolved resiudes
>>>>>         file = DummyFileObject
>>>>> @@ -398,7 +399,6 @@
>>>>>         Relax_fit(filename = self.filename, seq_args=data.seq_args, 
>>>>> directory = data.save_dir, file_names=data.file_names, 
>>>>> relax_times=data.relax_times, int_method=data.int_method, 
>>>>> mc_num=data.mc_num, pdb_file = data.structure_file, unresolved = 
>>>>> data.unresolved, view_plots = False)
>>>>>
>>>>>
>>>>> -
>>>>>     def link_data(self, data):
>>>>>         """Re-alias the storage container in the relax data store.
>>>>>         @keyword data:      The data storage container.
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>
>>>       
>
>
>   

_______________________________________________
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