Skip to content

Instantly share code, notes, and snippets.

@opotowsky
Last active January 14, 2016 21:10
Show Gist options
  • Save opotowsky/97d6517ac555dfb0af4f to your computer and use it in GitHub Desktop.
Save opotowsky/97d6517ac555dfb0af4f to your computer and use it in GitHub Desktop.
cym_testerr
opy_eats_macaron ~/cyclus/cymetric (gonuke-fix_hdf5) $ nosetests -w tests/
/home/opy/.local/lib/python2.7/site-packages/cymetric/metrics.py:10: QAWarning: pyne.data is not yet QA compliant.
from pyne import data
/home/opy/.local/lib/python2.7/site-packages/cymetric/metrics.py:11: QAWarning: pyne.material is not yet QA compliant.
import pyne.enrichment as enr
/home/opy/.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. ,
:
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Status: Cyclus run successful!
Output location: orig.h5
Simulation ID: 2984baca-00e3-4127-b633-fafab18eeba1
:
.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. ,
:
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Experimental Warning: the Reactor archetype is experimental
Status: Cyclus run successful!
Output location: orig.sqlite
Simulation ID: 5e4c79cd-b4bf-4149-8e08-277ce1d27911
......../home/opy/.local/lib/python2.7/site-packages/cymetric/evaluator.py:67: FutureWarning: the 'outtype' keyword is deprecated, use 'orient' instead
rawd = raw.to_dict(outtype='list')
..F...F..................................
======================================================================
FAIL: test_metrics.test_agents
----------------------------------------------------------------------
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/opy/cyclus/cymetric/tests/test_metrics.py", line 82, in test_agents
assert_frame_equal(exp, obs)
File "/home/opy/.local/lib/python2.7/site-packages/pandas/util/testing.py", line 1024, in assert_frame_equal
obj='{0}.columns'.format(obj))
File "/home/opy/.local/lib/python2.7/site-packages/pandas/util/testing.py", line 653, in assert_index_equal
_check_types(left, right)
File "/home/opy/.local/lib/python2.7/site-packages/pandas/util/testing.py", line 634, in _check_types
assertIn(r.inferred_type, ('string', 'unicode'))
File "/home/opy/.local/lib/python2.7/site-packages/pandas/util/testing.py", line 754, in assertIn
assert a in b, "%s: %r is not in %r" % (msg.format(a, b), a, b)
AssertionError: : 'mixed' is not in ('string', 'unicode')
======================================================================
FAIL: test_metrics.test_transaction_quantity
----------------------------------------------------------------------
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/opy/cyclus/cymetric/tests/test_metrics.py", line 204, in test_transaction_quantity
assert_frame_equal(exp, obs)
File "/home/opy/.local/lib/python2.7/site-packages/pandas/util/testing.py", line 1024, in assert_frame_equal
obj='{0}.columns'.format(obj))
File "/home/opy/.local/lib/python2.7/site-packages/pandas/util/testing.py", line 653, in assert_index_equal
_check_types(left, right)
File "/home/opy/.local/lib/python2.7/site-packages/pandas/util/testing.py", line 634, in _check_types
assertIn(r.inferred_type, ('string', 'unicode'))
File "/home/opy/.local/lib/python2.7/site-packages/pandas/util/testing.py", line 754, in assertIn
assert a in b, "%s: %r is not in %r" % (msg.format(a, b), a, b)
AssertionError: : 'mixed' is not in ('string', 'unicode')
----------------------------------------------------------------------
Ran 49 tests in 1.235s
FAILED (failures=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment