test failures under EPD 7.1-1

Bug #820939 reported by breisfeld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PyDSTool
New
Undecided
Unassigned

Bug Description

Platform: Windows 7
Python: Enthought Python Distribution (EPD) 7.1-1

After applying http://bazaar.launchpad.net/~breisfeld/pydstool/test_fix/revision/504 ,
there are a few test errors:

Test scripts that failed:
        ModelSpec_test.py
        Symbolic_test.py
        Symbolic_Diff_test.py
        pest_test3.py
        PyCont_Hopfield.py
        CIN.py

---------------------------------------------------

[C:\..\PyDSTool\tests]:python .\ModelSpec_test.py
Traceback (most recent call last):
  File ".\ModelSpec_test.py", line 8, in <module>
    from PyDSTool.Toolbox.neuralcomp import *
  File "C:\Libraries\python_libraries\PyDSTool\Toolbox\neuralcomp.py", line 59, in <module>
    class neuron(compatComponent):
NameError: name 'compatComponent' is not defined

---------------------------------------------------

[C:\..\PyDSTool\tests]:python .\Symbolic_Diff_test.py

...

Symbolic vector tests
[q0,q1]
[(p0+3),(3*Pow(p0,2)*Cos(Pow(p0,3)+q0))]
[[-3*6*Pow((2*v+1),2)+2,2],[0,-0.5]]
[[ -8.80000000e+02 2.00000000e+00]
 [ 0.00000000e+00 -5.00000000e-01]]
Traceback (most recent call last):
  File ".\Symbolic_Diff_test.py", line 188, in <module>
    assert str(Diff(F,[y0,y1,y2])) == '[[-0.04,10000*y2,10000*y1],[0.040000000000000001,(-10000*y2)-30000000*2*y1,-10000*y1],[0,3000000
0*2*y1,0]]'
AssertionError

---------------------------------------------------

[C:\..\PyDSTool\tests]:python .\pest_test3.py

...

Preparing plots
Valid coordinate names: ['sptime', 'spval']
Traceback (most recent call last):
  File ".\pest_test3.py", line 227, in <module>
    plotData_par = sol_traj.sample(['v'])
  File "C:\Libraries\python_libraries\PyDSTool\Trajectory.py", line 551, in sample
    res = self.__call__([self.indepdomain.get()], coords_sorted)
  File "C:\Libraries\python_libraries\PyDSTool\Trajectory.py", line 348, in __call__
    raise ValueError("Invalid coordinate names passed")
ValueError: Invalid coordinate names passed

---------------------------------------------------

[C:\..\PyDSTool\tests]:python .\PyCont_Hopfield.py
Traceback (most recent call last):
  File ".\PyCont_Hopfield.py", line 40, in <module>
    testDS = Generator.Vode_ODEsystem(DSargs)
  File "C:\Libraries\python_libraries\PyDSTool\Generator\Vode_ODEsystem.py", line 37, in __init__
    ODEsystem.__init__(self, kw)
  File "C:\Libraries\python_libraries\PyDSTool\Generator\ODEsystem.py", line 51, in __init__
    kw))
  File "C:\Libraries\python_libraries\PyDSTool\FuncSpec.py", line 2149, in __init__
    FuncSpec.__init__(self, kw)
  File "C:\Libraries\python_libraries\PyDSTool\FuncSpec.py", line 286, in __init__
    self.validateDef(vars, pars, inputs, auxvars, self._auxfnspecs.keys())
  File "C:\Libraries\python_libraries\PyDSTool\FuncSpec.py", line 413, in validateDef
    ('variable, parameter, and input names must not '
AssertionError: variable, parameter, and input names must not overlap with protected math / aux function names

---------------------------------------------------

[C:\..\PyDSTool\tests]:python .\CIN.py
Traceback (most recent call last):
  File ".\CIN.py", line 9, in <module>
    from PyDSTool.Toolbox.neuralcomp import *
  File "C:\Libraries\python_libraries\PyDSTool\Toolbox\neuralcomp.py", line 59, in <module>
    class neuron(compatComponent):
NameError: name 'compatComponent' is not defined

---------------------------------------------------

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.