From bf1b7a6ad8596c4eb2e62ce46f2c520962452d97 Mon Sep 17 00:00:00 2001 From: Will Boyd Date: Mon, 25 May 2015 09:20:31 -0400 Subject: [PATCH] Removed unused Tally.get_tally_id(...) routine --- src/utils/openmc/statepoint.py | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/utils/openmc/statepoint.py b/src/utils/openmc/statepoint.py index 1040ed3a63..0e3056cad3 100644 --- a/src/utils/openmc/statepoint.py +++ b/src/utils/openmc/statepoint.py @@ -652,28 +652,6 @@ class StatePoint(object): return tally - def get_tally_id(self, score, filters, name='', estimator='tracklength'): - """Retrieve the Tally ID for a given list of filters and score(s). - - Parameters - ---------- - score : str - The score string - - filters : list - A list of Filter objects - - name : str - The name specified for the Tally (default is '') - - estimator: str - The type of estimator ('tracklength' (default) or 'analog') - """ - - tally = self.get_tally(score, filters, name, estimator) - return tally._id - - def link_with_summary(self, summary): if not isinstance(summary, openmc.summary.Summary):