mailRe: [bug #11913] Problems with reading Sparky formatted file


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

Header


Content

Posted by Edward d'Auvergne on December 17, 2008 - 10:36:
Hi,

Here the problem is simply that the file argument is getting two
values.  These are 'debug' and 'test.list'.  The 'debug' part was used
in the old 1.2 line design as the run argument but that is no longer
used.  Instead the line should read:

relax> noe.read(file='test.list', spectrum_type='ref', format='sparky')

as you mention in your second post.

Regards,

Edward


On Tue, Dec 16, 2008 at 7:50 PM, Ryan MB Hoffman
<NO-REPLY.INVALID-ADDRESS@xxxxxxx> wrote:

Follow-up Comment #7, bug #11913 (project relax):

Hello,

So I've updated to 1.3.3 and was trying to import the original, problematic
data. I think I understand the 1.3 line's approach to importing data (pipes)
but I don't understand the following error, nor how to troubleshoot it.

The session now goes:

relax>  pipe.create('debug','noe')
relax>
 noe.read('debug',file='test.list',spectrum_type='ref',format='sparky')
Traceback (most recent call last):
 File "<console>", line 1, in <module>
TypeError: read() got multiple values for keyword argument 'file'

This looks like something stupid I'm doing...does anyone see my mistake? The
docstring for "noe.read" says,
      "file:  The name of the file containing the sequence data."
which confuses me because there is no sequence data that is particularly
pertinent.

Ryan


   _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
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 Thu Dec 18 05:00:34 2008