Skip to content

Instantly share code, notes, and snippets.

@gidden
Created May 12, 2015 21:36
Show Gist options
  • Select an option

  • Save gidden/5ec5d3680d464e438cd6 to your computer and use it in GitHub Desktop.

Select an option

Save gidden/5ec5d3680d464e438cd6 to your computer and use it in GitHub Desktop.
cymetric test errors
/home/gidden/.local/lib/python2.7/site-packages/cymetric/metrics.py:10: QAWarning: pyne.data is not yet QA compliant.
from pyne import data
/home/gidden/.local/lib/python2.7/site-packages/cymetric/metrics.py:11: QAWarning: pyne.material is not yet QA compliant.
import pyne.enrichment as enr
/home/gidden/.local/lib/python2.7/site-packages/cymetric/metrics.py:11: QAWarning: pyne.enrichment is not yet QA compliant.
import pyne.enrichment as enr
:
.CL:CC CC _Q _Q _Q_Q _Q _Q _Q
CC;CCCCCCCC:C; /_\) /_\)/_/\\) /_\) /_\) /_\)
CCCCCCCCCCCCCl __O|/O___O|/O_OO|/O__O|/O__O|/O____________O|/O__
CCCCCCf iCCCLCC /////////////////////////////////////////////////
iCCCt ;;;;;. CCCC
CCCC ;;;;;;;;;. CClL. c
CCCC ,;; ;;: CCCC ; : CCCCi
CCC ;; ;; CC ;;: CCC` `C;
lCCC ;; CCCC ;;;: :CC .;;. C; ; : ; :;;
CCCC ;. CCCC ;;;, CC ; ; Ci ; : ; : ;
iCC :; CC ;;;, ;C ; CC ; : ; .
CCCi ;; CCC ;;;. .C ; tf ; : ; ;.
CCC ;; CCC ;;;;;;; fC : lC ; : ; ;:
iCf ;; CC :;;: tC ; CC ; : ; ;
fCCC :; LCCf ;;;: LC :. ,: C ; ; ; ; ;
CCCC ;; CCCC ;;;: CCi `;;` CC. ;;;; :;.;. ; ,;
CCl ;; CC ;;;; CCC CCL
tCCC ;; ;; CCCL ;;; tCCCCC.
CCCC ;; :;; CCCCf ; ,L
lCCC ;;;;;; CCCL
CCCCCC :;; fCCCCC
. CCCC CCCC .
.CCCCCCCCCCCCCi
iCCCCCLCf
. C. ,
:
terminate called after throwing an instance of 'cyclus::IOError'
what(): The file 'test-input.xml' could not be loaded.
:
.CL:CC CC _Q _Q _Q_Q _Q _Q _Q
CC;CCCCCCCC:C; /_\) /_\)/_/\\) /_\) /_\) /_\)
CCCCCCCCCCCCCl __O|/O___O|/O_OO|/O__O|/O__O|/O____________O|/O__
CCCCCCf iCCCLCC /////////////////////////////////////////////////
iCCCt ;;;;;. CCCC
CCCC ;;;;;;;;;. CClL. c
CCCC ,;; ;;: CCCC ; : CCCCi
CCC ;; ;; CC ;;: CCC` `C;
lCCC ;; CCCC ;;;: :CC .;;. C; ; : ; :;;
CCCC ;. CCCC ;;;, CC ; ; Ci ; : ; : ;
iCC :; CC ;;;, ;C ; CC ; : ; .
CCCi ;; CCC ;;;. .C ; tf ; : ; ;.
CCC ;; CCC ;;;;;;; fC : lC ; : ; ;:
iCf ;; CC :;;: tC ; CC ; : ; ;
fCCC :; LCCf ;;;: LC :. ,: C ; ; ; ; ;
CCCC ;; CCCC ;;;: CCi `;;` CC. ;;;; :;.;. ; ,;
CCl ;; CC ;;;; CCC CCL
tCCC ;; ;; CCCL ;;; tCCCCC.
CCCC ;; :;; CCCCf ; ,L
lCCC ;;;;;; CCCL
CCCCCC :;; fCCCCC
. CCCC CCCC .
.CCCCCCCCCCCCCi
iCCCCCLCf
. C. ,
:
terminate called after throwing an instance of 'cyclus::IOError'
what(): The file 'test-input.xml' could not be loaded.
test_cyclus.test_conds_ae(<cymetric.cyclus.Hdf5Back object at 0x7f51b3c9a8c0>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ERROR
test_cyclus.test_conds_ae(<cymetric.cyclus.SqliteBack object at 0x7f51b3c9a908>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ERROR
test_cyclus.test_conds_comp(<cymetric.cyclus.Hdf5Back object at 0x7f51b3c9a998>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ERROR
test_cyclus.test_conds_comp(<cymetric.cyclus.SqliteBack object at 0x7f51b3c9a9e0>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ERROR
test_cyclus.test_name(<cymetric.cyclus.Hdf5Back object at 0x7f51b3c2f200>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ok
test_cyclus.test_name(<cymetric.cyclus.SqliteBack object at 0x7f51b3c2f128>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ok
test_cyclus.test_simid(<cymetric.cyclus.Hdf5Back object at 0x7f51b3c2f5a8>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ERROR
test_cyclus.test_simid(<cymetric.cyclus.SqliteBack object at 0x7f51b3c2f1b8>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ERROR
test_evaluator.test_eval(<cymetric.cyclus.Hdf5Back object at 0x7f51b3c2fc68>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ERROR
test_evaluator.test_eval(<cymetric.cyclus.SqliteBack object at 0x7f51b3c2fe18>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ERROR
test_metrics.test_agents ... ok
test_metrics.test_materials ... ok
test_metrics.test_activity ... ok
test_metrics.test_decayheat ... ok
test_metrics.test_transaction_quantity ... ok
test_metrics.test_fco_u_mined ... FAIL
test_metrics.test_fco_fuel_loading ... ok
test_metrics.test_fco_electricity_generated ... ERROR
test_root_metrics.test_agent_entry(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a48758>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ERROR
test_root_metrics.test_agent_entry(<cymetric.cyclus.SqliteBack object at 0x7f51b3a48710>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ERROR
test_root_metrics.test_agent_exit(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a48f80>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ok
test_root_metrics.test_agent_exit(<cymetric.cyclus.SqliteBack object at 0x7f51b3a48830>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ok
test_root_metrics.test_build_schedule(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a487e8>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ERROR
test_root_metrics.test_build_schedule(<cymetric.cyclus.SqliteBack object at 0x7f51b3a48fc8>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ERROR
test_root_metrics.test_compositions(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a487a0>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ERROR
test_root_metrics.test_compositions(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b0e0>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ERROR
test_root_metrics.test_decom_schedule(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4b170>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ok
test_root_metrics.test_decom_schedule(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b050>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ok
test_root_metrics.test_finish(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4b200>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ERROR
test_root_metrics.test_finish(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b098>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ERROR
test_root_metrics.test_info(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4b290>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ERROR
test_root_metrics.test_info(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b128>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ERROR
test_root_metrics.test_input_files(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4b320>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ERROR
test_root_metrics.test_input_files(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b248>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ERROR
test_root_metrics.test_products(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4b3b0>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ok
test_root_metrics.test_products(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b368>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ok
test_root_metrics.test_recipes(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4b2d8>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ERROR
test_root_metrics.test_recipes(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b3f8>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ERROR
test_root_metrics.test_res_creators(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4b680>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ERROR
test_root_metrics.test_res_creators(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b518>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ERROR
test_root_metrics.test_resources(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4b8c0>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ERROR
test_root_metrics.test_resources(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b7a0>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ERROR
test_root_metrics.test_resources_non_existent_filter(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4bb00>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ERROR
test_root_metrics.test_resources_non_existent_filter(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b4d0>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ERROR
test_root_metrics.test_snapshots(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4bd40>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ERROR
test_root_metrics.test_snapshots(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b9e0>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ERROR
test_root_metrics.test_transactions(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4bf80>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>) ... ERROR
test_root_metrics.test_transactions(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b488>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>) ... ERROR
======================================================================
ERROR: test_cyclus.test_conds_ae(<cymetric.cyclus.Hdf5Back object at 0x7f51b3c9a8c0>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_cyclus.py", line 30, in test_conds_ae
obs = db.query("AgentEntry", [('Kind', '==', 'Region')])
File "cyclus.pyx", line 134, in cymetric.cyclus._FullBackend.query (/home/gidden/work/cyclus/cymetric/build/cymetric/cyclus.cxx:2471)
MemoryError: std::bad_alloc
======================================================================
ERROR: test_cyclus.test_conds_ae(<cymetric.cyclus.SqliteBack object at 0x7f51b3c9a908>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_cyclus.py", line 30, in test_conds_ae
obs = db.query("AgentEntry", [('Kind', '==', 'Region')])
File "cyclus.pyx", line 134, in cymetric.cyclus._FullBackend.query (/home/gidden/work/cyclus/cymetric/build/cymetric/cyclus.cxx:2471)
RuntimeError: Invalid table name AgentEntry
======================================================================
ERROR: test_cyclus.test_conds_comp(<cymetric.cyclus.Hdf5Back object at 0x7f51b3c9a998>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_cyclus.py", line 39, in test_conds_comp
df = db.query("Compositions", conds)
File "cyclus.pyx", line 134, in cymetric.cyclus._FullBackend.query (/home/gidden/work/cyclus/cymetric/build/cymetric/cyclus.cxx:2471)
MemoryError: std::bad_alloc
======================================================================
ERROR: test_cyclus.test_conds_comp(<cymetric.cyclus.SqliteBack object at 0x7f51b3c9a9e0>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_cyclus.py", line 39, in test_conds_comp
df = db.query("Compositions", conds)
File "cyclus.pyx", line 134, in cymetric.cyclus._FullBackend.query (/home/gidden/work/cyclus/cymetric/build/cymetric/cyclus.cxx:2471)
RuntimeError: Invalid table name Compositions
======================================================================
ERROR: test_cyclus.test_simid(<cymetric.cyclus.Hdf5Back object at 0x7f51b3c2f5a8>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_cyclus.py", line 21, in test_simid
df = db.query("AgentEntry")
File "cyclus.pyx", line 148, in cymetric.cyclus._FullBackend.query (/home/gidden/work/cyclus/cymetric/build/cymetric/cyclus.cxx:2676)
RuntimeError: table 'AgentEntry' does not exist in 'test.h5'.
======================================================================
ERROR: test_cyclus.test_simid(<cymetric.cyclus.SqliteBack object at 0x7f51b3c2f1b8>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_cyclus.py", line 21, in test_simid
df = db.query("AgentEntry")
File "cyclus.pyx", line 148, in cymetric.cyclus._FullBackend.query (/home/gidden/work/cyclus/cymetric/build/cymetric/cyclus.cxx:2676)
RuntimeError: Invalid table name AgentEntry
======================================================================
ERROR: test_evaluator.test_eval(<cymetric.cyclus.Hdf5Back object at 0x7f51b3c2fc68>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_evaluator.py", line 15, in test_eval
df = evaluator.eval('Materials', db)
File "/home/gidden/.local/lib/python2.7/site-packages/cymetric/evaluator.py", line 82, in eval
return e.eval(str(metric), conds=conds)
File "/home/gidden/.local/lib/python2.7/site-packages/cymetric/evaluator.py", line 59, in eval
raw = m(series=series, conds=conds, known_tables=self.known_tables)
File "/home/gidden/.local/lib/python2.7/site-packages/cymetric/metrics.py", line 77, in __call__
return f(series)
File "/home/gidden/.local/lib/python2.7/site-packages/cymetric/metrics.py", line 112, in materials
x = pd.merge(series[0].reset_index(), series[1].reset_index(),
AttributeError: 'NoneType' object has no attribute 'reset_index'
======================================================================
ERROR: test_evaluator.test_eval(<cymetric.cyclus.SqliteBack object at 0x7f51b3c2fe18>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_evaluator.py", line 15, in test_eval
df = evaluator.eval('Materials', db)
File "/home/gidden/.local/lib/python2.7/site-packages/cymetric/evaluator.py", line 82, in eval
return e.eval(str(metric), conds=conds)
File "/home/gidden/.local/lib/python2.7/site-packages/cymetric/evaluator.py", line 59, in eval
raw = m(series=series, conds=conds, known_tables=self.known_tables)
File "/home/gidden/.local/lib/python2.7/site-packages/cymetric/metrics.py", line 77, in __call__
return f(series)
File "/home/gidden/.local/lib/python2.7/site-packages/cymetric/metrics.py", line 112, in materials
x = pd.merge(series[0].reset_index(), series[1].reset_index(),
AttributeError: 'NoneType' object has no attribute 'reset_index'
======================================================================
ERROR: test_metrics.test_fco_electricity_generated
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_metrics.py", line 285, in test_fco_electricity_generated
obs = metrics.fco_electricity_generated.func(series)
AttributeError: 'module' object has no attribute 'fco_electricity_generated'
======================================================================
ERROR: test_root_metrics.test_agent_entry(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a48758>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 56, in test_agent_entry
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_agent_entry(<cymetric.cyclus.SqliteBack object at 0x7f51b3a48710>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 56, in test_agent_entry
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_build_schedule(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a487e8>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 109, in test_build_schedule
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_build_schedule(<cymetric.cyclus.SqliteBack object at 0x7f51b3a48fc8>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 109, in test_build_schedule
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_compositions(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a487a0>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 26, in test_compositions
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_compositions(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b0e0>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 26, in test_compositions
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_finish(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4b200>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 86, in test_finish
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_finish(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b098>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 86, in test_finish
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_info(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4b290>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 79, in test_info
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_info(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b128>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 79, in test_info
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_input_files(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4b320>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 93, in test_input_files
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_input_files(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b248>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 93, in test_input_files
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_recipes(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4b2d8>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 33, in test_recipes
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_recipes(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b3f8>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 33, in test_recipes
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_res_creators(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4b680>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 49, in test_res_creators
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_res_creators(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b518>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 49, in test_res_creators
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_resources(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4b8c0>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 19, in test_resources
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_resources(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b7a0>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 19, in test_resources
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_resources_non_existent_filter(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4bb00>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 124, in test_resources_non_existent_filter
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_resources_non_existent_filter(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b4d0>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 124, in test_resources_non_existent_filter
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_snapshots(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4bd40>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 116, in test_snapshots
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_snapshots(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b9e0>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 116, in test_snapshots
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_transactions(<cymetric.cyclus.Hdf5Back object at 0x7f51b3a4bf80>, 'test.h5', <class 'cymetric.cyclus.Hdf5Back'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 72, in test_transactions
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
ERROR: test_root_metrics.test_transactions(<cymetric.cyclus.SqliteBack object at 0x7f51b3a4b488>, 'test.sqlite', <class 'cymetric.cyclus.SqliteBack'>)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_root_metrics.py", line 72, in test_transactions
assert_less(0, len(obs))
TypeError: object of type 'NoneType' has no len()
======================================================================
FAIL: test_metrics.test_fco_u_mined
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/gidden/work/cyclus/cymetric/tests/test_metrics.py", line 238, in test_fco_u_mined
assert_frame_equal(exp, obs)
File "/home/gidden/.local/lib/python2.7/site-packages/pandas/util/testing.py", line 708, in assert_frame_equal
assert_index_equal(left.columns, right.columns)
File "/home/gidden/.local/lib/python2.7/site-packages/pandas/util/testing.py", line 540, in assert_index_equal
right.dtype))
AssertionError: [index] left [object Index([u'Year', u'UMined'], dtype='object')], right [Index([u'Year', u'FcoUMined'], dtype='object') object]
----------------------------------------------------------------------
Ran 48 tests in 0.653s
FAILED (errors=33, failures=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment