Skip to content

Commit

Permalink
Sort CatalogCalculationPlugins deterministically
Browse files Browse the repository at this point in the history
  • Loading branch information
natelust committed Jul 24, 2017
1 parent 9842ac5 commit 1106070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/meas/base/catalogCalculation.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def initializePlugins(self):
# the plugins are above the minimum run level for an catalogCalculation plugin. For each run level,
# the plugins are sorted into either single record, or multi record groups to later be run
# appropriately
for executionOrder, name, config, PluginClass in self.config.plugins.apply():
for executionOrder, name, config, PluginClass in sorted(self.config.plugins.apply()):
if executionOrder not in self.executionDict:
self.executionDict[executionOrder] = pluginType(single=[], multi=[])
if PluginClass.getExecutionOrder() >= BasePlugin.DEFAULT_CATALOGCALCULATION:
Expand Down

0 comments on commit 1106070

Please sign in to comment.