Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Remove global declaration in swarm experiment generator #3810

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/nupic/swarming/exp_generator/experiment_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1858,7 +1858,7 @@ def _generateMetricSpecs(options):

def _generateExtraMetricSpecs(options):
"""Generates the non-default metrics specified by the expGenerator params """
global _metricSpecSchema
_metricSpecSchema = {'properties': {}}

results = []
for metric in options['metrics']:
Expand Down