mail[bug #9562] Typo in the 'set()' function from 'specific_fns/jw_mapping.py'


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

Header


Content

Posted by Sébastien Morin on July 22, 2007 - 17:41:

URL:
  <http://gna.org/bugs/?9562>

                 Summary: Typo in the 'set()' function from
'specific_fns/jw_mapping.py'
                 Project: relax
            Submitted by: semor
            Submitted on: Sunday 07/22/2007 at 15:41
                Category: relax's source code
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: Repository: 1.3 line
        Operating System: GNU/Linux

    _______________________________________________________

Details:

In the 1.3 line, revision 3342, there is a typo in the 'set()' function of
the file 'specific_fns/jw_mapping.py'.

The string 'csa' is used twice on line 398. The string 'csa' should be used
first and, then, the string 'r'.

So, the line :

if not hasattr(relax_data_store.res[self.run][index], 'csa') or not
hasattr(relax_data_store.res[self.run][index], 'csa'):

should become :

if not hasattr(relax_data_store.res[self.run][index], 'csa') or not
hasattr(relax_data_store.res[self.run][index], 'r'):

This bug is also found in the 1.2 line (revision 3342) as well as in the
consistency.tests branches for the 1.2 and 1.3 lines for the file
'specific_fns/jw_mapping.py' and 'specific_fns/consistency_tests.py'.

The patch 'patch__specific_fns__jw_mapping__l1.3_r3342' fixes this bug in the
1.3 line (revision 3342).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sunday 07/22/2007 at 15:41  Name:
patch__specific_fns__jw_mapping__l1.3_r3342  Size: 682B   By: semor
The patch 'patch__specific_fns__jw_mapping__l1.3_r3342' fixes this bug in the
1.3 line (revision 3342).
<http://gna.org/bugs/download.php?file_id=2641>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?9562>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/




Related Messages


Powered by MHonArc, Updated Thu Jul 26 11:20:38 2007