[Scipy-tickets] [SciPy] #611: ValueError: list.index(x): x not in list

SciPy scipy-tickets@scipy....
Sat Feb 23 04:51:22 CST 2008


#611: ValueError: list.index(x): x not in list
-------------------------+--------------------------------------------------
 Reporter:  nils         |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  normal       |   Milestone:  0.7     
Component:  scipy.stats  |     Version:  devel   
 Severity:  normal       |    Keywords:          
-------------------------+--------------------------------------------------
 {{{
 ======================================================================
 ERROR: test_factor3 (test_formula.TestFormula)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/lib/python2.4/site-
 packages/scipy/stats/models/tests/test_formula.py", line 231, in
 test_factor3
     m = fac.main_effect(reference=1)
   File "/usr/lib/python2.4/site-packages/scipy/stats/models/formula.py",
 line 273, in main_effect
     reference = names.index(reference)
 ValueError: list.index(x): x not in list
 }}}

-- 
Ticket URL: <http://scipy.org/scipy/scipy/ticket/611>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list