mailRe: r11069 - /branches/bieri_gui/gui_bieri/analyses/auto_rx_base.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d'Auvergne on April 13, 2010 - 17:19:
Would you know how I can reproduce this bug?

Cheers,

Edward



On 13 April 2010 17:15, Edward d'Auvergne <edward@xxxxxxxxxxxxx> 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 <michael.bieri@xxxxxxxxxxxxx> 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,  <michael.bieri@xxxxxxxxxxxxx> 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
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



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

This is the relax-devel mailing list
relax-devel@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-devel




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

This is the relax-devel mailing list
relax-devel@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-devel





Related Messages


Powered by MHonArc, Updated Wed Apr 14 00:40:15 2010