bugrelax - Bugs: bug #20378, The...

 
 
Show feedback again

bug #20378: The Bruker.test_bug_20152_read_dc_file GUI test fails when running in GUI mode.

Submitted by:  Edward d Auvergne <bugman>
Submitted on:  Wed 19 Dec 2012 04:21:47 PM UTC  
 
Category: Test suiteSpecific analysis category: None
Priority: 5 - NormalSeverity: 3 - Normal
Status: FixedAssigned to: Edward d Auvergne <bugman>
Originator Name: Open/Closed: Closed
Release: 2.1.2Operating System: All systems

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 19 Dec 2012 04:36:10 PM UTC, SVN revision 18171:

Merged revisions 18169-18170 via svnmerge from
svn+ssh://bugman@svn.gna.org/svn/relax/trunk

........
r18169 | bugman | 2012-12-19 17:33:44 +0100 (Wed, 19 Dec 2012) | 7 lines

Partial fix for bug #20378 (https://gna.org/bugs/index.php?20378).

The gui_raise() function was operating differently under the command line run test suite and the GUI
run test suite. The operation of the function is now consistent, and no RelaxError is raised
(unless the raise_flag argument is set).
........
r18170 | bugman | 2012-12-19 17:35:49 +0100 (Wed, 19 Dec 2012) | 7 lines

Full fix for bug #20378 (https://gna.org/bugs/index.php?20378).

As no RelaxError is no longer raised in this Bruker.test_bug_20152_read_dc_file GUI test (well only
in the command line operation of the GUI tests), instead the current data pipe is checked to make
sure no relaxation data was loaded.
........

(Browse SVN revision 18171)

Edward d Auvergne <bugman>
Project AdministratorIn charge of this item.
Wed 19 Dec 2012 04:35:49 PM UTC, SVN revision 18170:

Full fix for bug #20378 (https://gna.org/bugs/index.php?20378).

As no RelaxError is no longer raised in this Bruker.test_bug_20152_read_dc_file GUI test (well only
in the command line operation of the GUI tests), instead the current data pipe is checked to make
sure no relaxation data was loaded.

(Browse SVN revision 18170)

Edward d Auvergne <bugman>
Project AdministratorIn charge of this item.
Wed 19 Dec 2012 04:33:44 PM UTC, SVN revision 18169:

Partial fix for bug #20378 (https://gna.org/bugs/index.php?20378).

The gui_raise() function was operating differently under the command line run test suite and the GUI
run test suite. The operation of the function is now consistent, and no RelaxError is raised
(unless the raise_flag argument is set).

(Browse SVN revision 18169)

Edward d Auvergne <bugman>
Project AdministratorIn charge of this item.
Wed 19 Dec 2012 04:21:47 PM UTC, original submission:

The error message from the test suite is:

======================================================================
FAIL: Test the reading of a DC file, catching bug #20152 (https://gna.org/bugs/?20152).
----------------------------------------------------------------------

relax> pipe.create(pipe_name='mf', pipe_type='mf', bundle=None)

relax> structure.read_pdb(file='/data/edau/relax/relax-trunk/test_suite/shared_data/structures/1UBQ_H_trunc.pdb', dir=None, read_mol=None, set_mol_name=None, read_model=None, set_model_num=None, parser='internal')

Internal relax PDB parser.
Opening the file '/data/edau/relax/relax-trunk/test_suite/shared_data/structures/1UBQ_H_trunc.pdb' for reading.
Adding molecule '1UBQ_H_trunc_mol1' to model None (from the original molecule number 1 of model None)

relax> structure.load_spins(spin_id=None, ave_pos=True)
Adding the following spins to the relax data store.

# mol_name res_num res_name spin_num spin_name
1UBQ_H_trunc_mol1 1 MET 1 N
1UBQ_H_trunc_mol1 2 GLN 9 N
1UBQ_H_trunc_mol1 3 ILE 18 N

relax> bruker.read(ri_id='r1_700', file='/data/edau/relax/relax-trunk/test_suite/shared_data/bruker_files/T1_demo_1UBQ_H_trunc.txt', dir=None)
Opening the file '/data/edau/relax/relax-trunk/test_suite/shared_data/bruker_files/T1_demo_1UBQ_H_trunc.txt' for reading.
RelaxWarning: The spin '#1UBQ_H_trunc_mol1:1@N' is already named.
RelaxWarning: The spin '#1UBQ_H_trunc_mol1:2@N' is already named.
RelaxWarning: The spin '#1UBQ_H_trunc_mol1:3@N' is already named.
RelaxError: The old Protein Dynamics Center (PDC) files are not supported

Traceback (most recent call last):
File "test_suite/gui_tests/bruker.py", line 130, in test_bug_20152_read_dc_file
self.assertEqual(error, True)
AssertionError: False != True

----------------------------------------------------------------------

Edward d Auvergne <bugman>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bugman (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 19 Dec 2012 04:36:21 PM UTCbugmanStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup