Hi,

Ah, now I've worked out what is going on.  The check_curve_fitting()
method is an auxiliary method for checking the results from the
Relax_fit.test_curve_fitting_height and
Relax_fit.test_curve_fitting_volume.  It is not actually a system
test, only methods starting with test_*() are actually real tests.
Therefore you shouldn't run "./relax -s
Relax_fit.check_curve_fitting".  I'm not sure why relax is letting you
do that.

Regards,

Edward



On 25 August 2011 16:59, Sébastien Morin <[email protected]> wrote:
> Hi again,
>
> Quite funny. If the test is ran as part of "relax -s", then it does not
> fail...
>
> However, if running "./relax -s Relax_fit.check_curve_fitting", then a
> failure arises...
>
> Are we supposed to be able to run each test individually ?
>
>
> Séb  :)
>
>
> On 11-08-25 4:45 PM, Sébastien Morin wrote:
>>
>> Hi,
>>
>> The problem I mentioned with the system test using
>> "Relax_fit.check_curve_fitting" is still present...
>>
>> I will wait..!
>>
>>
>> Séb  :)
>>
>>
>>
>> On 11-08-25 1:03 PM, Edward d'Auvergne wrote:
>>>
>>> Hi,
>>>
>>> If you perform an svnmerge now, you should have most of the test suite
>>> working.  There is one failure in the system tests at the moment and
>>> that is in the Mf.test_dauvergne_protocol test.  The problem is that I
>>> have added calls to pymol.write() to create PyMOL macros, but this
>>> code does not exist yet.  Michael Bieri coded the PyMOL macros
>>> directly into the GUI code, but I am in the process of shifting it
>>> into the relax back end as a user function.  The GUI tests are also
>>> failing for some unknown reason related to the multi-processor IO
>>> redirection which I am still hunting down.
>>>
>>> Regards,
>>>
>>> Edward
>>>
>>>
>>>
>>> On 25 August 2011 12:42, Sébastien Morin<[email protected]>
>>> wrote:
>>>>
>>>> Hi Ed,
>>>>
>>>> Yeah, I had the impression it was your fault..!  :p
>>>>
>>>> Anyway, I am fixing other things at the moment.
>>>> Please let me know when this is fixed.
>>>>
>>>> Cheers,
>>>>
>>>>
>>>> Séb  :)
>>>>
>>>>
>>>> On 11-08-25 12:40 PM, Edward d'Auvergne wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I'm working on this at the moment.  Unfortunately the main 1.3 line is
>>>>> severely broken at the moment!  The new multi-processor package is
>>>>> clashing with and causing relax to die hard on the test-suite and the
>>>>> GUI.  The main cause is IO redirection of sys.stdout and sys.stderr.
>>>>> The multi-processor code (even in uni-processor mode) is hijacking the
>>>>> streams and the test suite and GUI do not know what to do anymore.
>>>>> Once I eliminate all the IO redirection of the multi package, apart
>>>>> from the IO capture on the slave processes which is non-functional
>>>>> anyway, then the test-suite should be back in order.  I noticed you
>>>>> performed an svnmerge, and this is likely causing the breakages in
>>>>> your branch.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Edward
>>>>>
>>>>>
>>>>> On 25 August 2011 12:23, Sébastien Morin<[email protected]>
>>>>>   wrote:
>>>>>>
>>>>>> Hi Ed,
>>>>>>
>>>>>> While working on "inversion-recovery" branch, I realized that the
>>>>>> system
>>>>>> tests "Relax_fit.check_curve_fitting__exp_2param_neg" and
>>>>>> "Relax_fit.check_curve_fitting__exp_3param_inv_neg" were failing. In
>>>>>> order
>>>>>> to pin point the problem, I checked on the main 1.3 branch (514439)
>>>>>> and
>>>>>> system test "Relax_fit.check_curve_fitting" also failed, with the same
>>>>>> error:
>>>>>>
>>>>>> ==========
>>>>>> ======================================================================
>>>>>> ERROR: check_curve_fitting
>>>>>> (test_suite.system_tests.relax_fit.Relax_fit)
>>>>>> Check the results of the curve-fitting.
>>>>>> ----------------------------------------------------------------------
>>>>>>
>>>>>> relax>     pipe.create(pipe_name='mf', pipe_type='mf')
>>>>>> Traceback (most recent call last):
>>>>>>   File
>>>>>>
>>>>>>
>>>>>> "/Users/semor/Documents/pse-4/collaborations/relax/relax-1.3/test_suite/system_tests/relax_fit.py",
>>>>>> line 60, in check_curve_fitting
>>>>>>     self.assertEqual(cdp.curve_type, 'exp')
>>>>>> AttributeError: 'PipeContainer' object has no attribute 'curve_type'
>>>>>>
>>>>>> ----------------------------------------------------------------------
>>>>>> Ran 1 test in 0.001s
>>>>>>
>>>>>> FAILED (errors=1)
>>>>>> ==========
>>>>>>
>>>>>> I tried changing the pipe type from "mf" to "relax_fit" (as it should
>>>>>> be).
>>>>>> This did not solve the issue...
>>>>>>
>>>>>> Any idea ?
>>>>>> Thanks !
>>>>>>
>>>>>>
>>>>>> Séb   :)
>>>>>>
>>>>>> --
>>>>>> Sébastien Morin, Ph.D.
>>>>>> Postdoctoral Fellow, S. Grzesiek NMR Laboratory
>>>>>> Department of Structural Biology
>>>>>> Biozentrum, Universität Basel
>>>>>> Klingelbergstrasse 70
>>>>>> 4056 Basel
>>>>>> Switzerland
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> relax (http://nmr-relax.com)
>>>>>>
>>>>>> This is the relax-devel mailing list
>>>>>> [email protected]
>>>>>>
>>>>>> 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
>>>>>>
>>>> --
>>>> Sébastien Morin, Ph.D.
>>>> Postdoctoral Fellow, S. Grzesiek NMR Laboratory
>>>> Department of Structural Biology
>>>> Biozentrum, Universität Basel
>>>> Klingelbergstrasse 70
>>>> 4056 Basel
>>>> Switzerland
>>>>
>>>>
>
> --
> Sébastien Morin, Ph.D.
> Postdoctoral Fellow, S. Grzesiek NMR Laboratory
> Department of Structural Biology
> Biozentrum, Universität Basel
> Klingelbergstrasse 70
> 4056 Basel
> Switzerland
>
>
> _______________________________________________
> relax (http://nmr-relax.com)
>
> This is the relax-devel mailing list
> [email protected]
>
> 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
>

_______________________________________________
relax (http://nmr-relax.com)

This is the relax-devel mailing list
[email protected]

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

Reply via email to