You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently installed and began to use cymetrics. I tried to receive the "ReactorEvents" metric from my database 'db'. After using the eval function cym.eval('ReactorEvents', db) to receive the 'ReactorEvents' data, this error occurred.
I recently installed and began to use cymetrics. I tried to receive the "ReactorEvents" metric from my database 'db'. After using the eval function
cym.eval('ReactorEvents', db)
to receive the 'ReactorEvents' data, this error occurred.cym.eval('ReactorEvents', db)
Traceback (most recent call last):
File "", line 1, in
cym.eval('ReactorEvents', db)
File "/home/tyler/anaconda3/lib/python3.6/site-packages/cymetric/evaluator.py", line 83, in eval
return e.eval(str(metric), conds=conds)
File "/home/tyler/anaconda3/lib/python3.6/site-packages/cymetric/evaluator.py", line 55, in eval
m = self.get_metric(metric)
File "/home/tyler/anaconda3/lib/python3.6/site-packages/cymetric/evaluator.py", line 47, in get_metric
self.metrics[metric] = METRIC_REGISTRYmetric
KeyError: 'ReactorEvents'
The entire code is placed below
In[20]:
db.tables
Out[20]:
{'AgentEntry',
'AgentExit',
'AgentStateAgent',
'AgentStateInventories',
'AgentState_agents_NullInstInfo',
'AgentState_agents_NullRegionInfo',
'AgentState_cycamore_EnrichmentInfo',
'AgentState_cycamore_ReactorInfo',
'AgentState_cycamore_SinkInfo',
'AgentState_cycamore_SourceInfo',
'AgentVersions',
'CommodPriority',
'Compositions',
'DecayMode',
'DecomSchedule',
'Enrichments',
'Epsilon',
'Finish',
'GreedySolverInfo',
'Info',
'InfoExplicitInv',
'InputFiles',
'MaterialInfo',
'Materials',
'NextIds',
'Prototypes',
'ReactorEvents',
'Recipes',
'ResCreators',
'Resources',
'Snapshots',
'SolverInfo',
'TimeSeriesEnrichmentFeed',
'TimeSeriesEnrichmentSWU',
'TimeSeriesPower',
'TimeSeriesUsedFuel',
'TimeStepDur',
'Transactions',
'XMLPPInfo'}
cym.eval('ReactorEvents', db)
Traceback (most recent call last):
File "", line 1, in
cym.eval('ReactorEvents', db)
File "/home/tyler/anaconda3/lib/python3.6/site-packages/cymetric/evaluator.py", line 83, in eval
return e.eval(str(metric), conds=conds)
File "/home/tyler/anaconda3/lib/python3.6/site-packages/cymetric/evaluator.py", line 55, in eval
m = self.get_metric(metric)
File "/home/tyler/anaconda3/lib/python3.6/site-packages/cymetric/evaluator.py", line 47, in get_metric
self.metrics[metric] = METRIC_REGISTRYmetric
KeyError: 'ReactorEvents'
The text was updated successfully, but these errors were encountered: