bugrelax - Bugs: bug #20910, User function: grace write select...

 
 
Show feedback again

bug #20910: User function: grace write select wrong y_data_type

Submitted by:  Troels E. Linnet <tlinnet>
Submitted on:  Mon 17 Jun 2013 09:38:57 AM UTC  
 
Category: relax's source codeSpecific analysis category: None
Priority: 5 - NormalSeverity: 2 - Minor
Status: FixedAssigned to: Edward d Auvergne <bugman>
Originator Name: Open/Closed: Closed
Release: Repository: trunkOperating 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.

 

Mon 17 Jun 2013 01:15:28 PM UTC, SVN revision 20177:

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

........
r20176 | bugman | 2013-06-17 15:15:15 +0200 (Mon, 17 Jun 2013) | 6 lines

Fix for bug #20910 (https://gna.org/bugs/?20910) - the broken grace.write GUI interface.

The problem was that the Value GUI input element was not detecting list-type data returned by the
wiz_combo_iter method.
........

(Browse SVN revision 20177)

Edward d Auvergne <bugman>
Project AdministratorIn charge of this item.
Mon 17 Jun 2013 01:15:16 PM UTC, SVN revision 20176:

Fix for bug #20910 (https://gna.org/bugs/?20910) - the broken grace.write GUI interface.

The problem was that the Value GUI input element was not detecting list-type data returned by the
wiz_combo_iter method.

(Browse SVN revision 20176)

Edward d Auvergne <bugman>
Project AdministratorIn charge of this item.
Mon 17 Jun 2013 09:38:57 AM UTC, original submission:

Using the GUI grace write, it produces wrong out put

grace.write(x_data_type='res_num', y_data_type='["\'r2eff\': The effective transversal relaxation rate", \'r2eff\']', spin_id=None, plot_data='value', file='C:\\WinPython27\\relax_results\\final\\r2eff_2.agr', dir=None, force=False, norm=False)

Opening the file 'C:\\WinPython27\\relax_results\\final\\r2eff_2.agr' for writing.
RelaxError: The parameter '["'r2eff': The effective transversal relaxation rate", 'r2eff']' does not exist.

-----------------------------------
Should be:
y_data_type='r2eff'

I think it there should be a selection for index 1 in the list ?

Troels E. Linnet <tlinnet>
Project Member

 

(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 (Updated the item)
  • -unavailable- added by tlinnet (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 17 Jun 2013 01:15:43 PM UTCbugmanStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
      ReleaseBranches=>Repository: trunk
    Mon 17 Jun 2013 01:05:29 PM UTCbugmanStatusNone=>Confirmed
      Assigned toNone=>bugman
      Operating SystemMicrosoft Windows=>All systems
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup