mail[bug #20873] Custom Peak intensity reading cannot read a list of spectrum_id


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

Header


Content

Posted by Troels E. Linnet on June 07, 2013 - 15:27:
Follow-up Comment #6, bug #20873 (project relax):

The bug still persist in the GUI:

The GUI creates this:
spectrum.read_intensities(file='/sbinlab2/tlinnet/Desktop/test.seq', dir=None,
spectrum_id="'2','0'", heteronuc='N', proton='HN', int_method='height',
int_col=(6, 7), spin_id_col=None, mol_name_col=1, res_num_col=2,
res_name_col=3, spin_num_col=4, spin_name_col=5, sep=None, spin_id=None,
ncproc=None)

Both the spectrum_id and int_col is not formatted correctly.
It should be this:
spectrum.read_intensities(file='/sbinlab2/tlinnet/Desktop/test.seq', dir=None,
spectrum_id=['2', '0'], heteronuc='N', proton='HN', int_method='height',
int_col=[6, 7], spin_id_col=None, mol_name_col=1, res_num_col=2,
res_name_col=3, spin_num_col=4, spin_name_col=5, sep=None, spin_id=None,
ncproc=None)

This will also not work:
spectrum.read_intensities(file='/sbinlab2/tlinnet/Desktop/test.seq', dir=None,
spectrum_id=['2', '0'], heteronuc='N', proton='HN', int_method='height',
int_col=(6, 7), spin_id_col=None, mol_name_col=1, res_num_col=2,
res_name_col=3, spin_num_col=4, spin_name_col=5, sep=None, spin_id=None,
ncproc=None)
----
The intensity column argument '(6, 7)' must be either None, an integer, or a
list of integers





    _______________________________________________________

Reply to this item at:

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

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




Related Messages


Powered by MHonArc, Updated Fri Jun 07 15:40:07 2013