Skip to content

Commit

Permalink
make Evaluator stage names unique (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
eacharles committed Apr 25, 2024
1 parent 000bd60 commit a8a62ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/goldenspike_examples/goldenspike.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@
"\n",
"result_dict = {}\n",
"for key, val in eval_dict.items():\n",
" the_eval = DistToPointEvaluator.make_stage(name='dist_to_point', force_exact=True, **evaluator_stage_dict)\n",
" the_eval = DistToPointEvaluator.make_stage(name=f'{key}_dist_to_point', force_exact=True, **evaluator_stage_dict)\n",
" result_dict[key] = the_eval.evaluate(val, truth)\n",
" \n",
" \n",
Expand Down Expand Up @@ -866,7 +866,7 @@
"kernelspec": {
"display_name": "rail_env",
"language": "python",
"name": "rail_env"
"name": "python"
},
"language_info": {
"codemirror_mode": {
Expand Down

0 comments on commit a8a62ab

Please sign in to comment.