mailRe: [sr #3142] Error messages Relax-3.1.7


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

Header


Content

Posted by Edward d'Auvergne on April 23, 2014 - 11:04:
Hi,

There's no need to separate them now.  I've fixed both in relax.  For
the error you see now, if I run:

$ ./relax sample_scripts/relax_disp/cpmg_analysis.py

from the base relax directory, then it will find the data in the test
suite directories and perform the test analysis.  Also in the Windows
PowerShell:

.\relax sample_scripts\relax_disp\cpmg_analysis.py

Both work for me.  But Troels' response
(http://thread.gmane.org/gmane.science.nmr.relax.devel/5296/focus=5326)
is exactly correct.  The '\t' is the Python tab character, so the
missing '\' will really cause problems.  Python gets around such
problems by using the os.sep and os.pardir variables, as I have used
in the updated scripts
(http://svn.gna.org/viewcvs/*checkout*/relax/trunk/sample_scripts/relax_disp/cpmg_analysis.py?content-type=text%2Fplain).

Regards,

Edward



On 23 April 2014 10:23,  <mengjun.xue@xxxxxxxxxxxxxxxxxxxx> wrote:
Hi Edward,

Thank you very much for your suggestions. Should I separate the the
questions about test suite and cmpg_analysis.py and resubmit them ? For the
cpmy_analysis.py, I have change it to
'..\..\test_suite\shared_data\dispersion\Hansen' as your suggestion, and try
to run the script again, but there are following relaxerror,

relax> spectrum.read_intensities(file='500_MHz\\reference.in_sparky',
dir='..\\..\test_suite\\shared_data\\dispersion\\Hansen',
spectrum_id='500_reference.in', dim=1, int_method='height', int_col=None,
spin_id_col=None, mol_name_col=None, res_num_col=None, res_name_col=None,
spin_num_col=None, spin_name_col=None, sep=None, spin_id=None, ncproc=None)
RelaxError: The sequence data does not exist.

Thank you.

Best regards,

Mengjun




Quoting Edward d'Auvergne <edward@xxxxxxxxxxxxx>:

Hi Mengjun,

I have fixed the test suite problem.  This was simply a lower
precision issue on MS Windows combined with hard-coded checks of
optimised parameter values.  It will have no effect on any analysis
you preform.  To obtain the fix, which you do not need, you will need
to wait until I release relax 3.2.0.

As for the second problem, I only just noticed it today.  It is better
to keep things separate.  So the test suite problem could have been
reported to the relax bug tracker
(http://gna.org/bugs/?func=additem&group=relax) and the script usage
problem to the relax-users mailing list.  The fix for the script is
that the path '../../test_suite/shared_data/dispersion/Hansen' is used
in the script.  This is incorrect as these are the Linux/Unix path
separators.  In Windows, you would need to change this to
'..\..\test_suite\shared_data\dispersion\Hansen'.  I will change the
script so that it is compatible with all operating systems (again this
will appear in relax 3.2.0).

Cheers,

Edward



On 3 April 2014 21:30, anonymous <NO-REPLY.INVALID-ADDRESS@xxxxxxx> wrote:

URL:
  <http://gna.org/support/?3142>

                 Summary: Error messages Relax-3.1.7
                 Project: relax
            Submitted by: None
            Submitted on: Thu 03 Apr 2014 07:30:07 PM UTC
                Category: Feature request
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
             Assigned to: None
        Originator Email: mengjun.xue@xxxxxxxxxxxxxxxxxxxx
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Hi Edward,

I am trying the new version relax-3.1.7, the full test suite failed on my
computer.
System/functional tests
................................................................. [
Failed ]
Unit tests

..................................................................................
[ OK ]
GUI tests

...................................................................................
[ OK ]
Synopsis

................................................................................
[ Failed ]

For relaxation dispersion, I am trying the script cpmg_analysis.py for
testing
in the folder of sample_scripts, error messgage came up,

RelaxError: The file
'../../test_suite/shared_data/dispersion/Hansen\\fake_sequence.in' does
not
exist. But the fake_sequence.in is indeed in the folder of Hansen.

Could you please give me some suggestions about the problems? Please find
the
attached log files for full test suite and cpmg_analysis.py.

Thank you so much.

Best regards,

Mengjun




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 03 Apr 2014 07:30:07 PM UTC  Name: log_cpmg_analysis_1  Size:
11kB
By: None

<http://gna.org/support/download.php?file_id=20467>
-------------------------------------------------------
Date: Thu 03 Apr 2014 07:30:07 PM UTC  Name: log_full_test_suite.txt
Size:
113kB   By: None

<http://gna.org/support/download.php?file_id=20468>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/support/?3142>

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


_______________________________________________
relax (http://www.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 Wed Apr 23 11:40:15 2014