LSSTDESC / rail

Top level "umbrella" package for RAIL
MIT License
5 stars 3 forks source link

Should use unique names for stages in goldenspike... #135

Closed eacharles closed 2 months ago

eacharles commented 2 months ago

Bug report

The goldenspike notebook has this:

for key, val in eval_dict.items():,
    the_eval = DistToPointEvaluator.make_stage(name='dist_to_point', force_exact=True, **evaluator_stage_dict)

But it stages in a single pipeline should have unique names, otherwise they will try to write the same file, so this should be something like this:

for key, val in eval_dict.items():,
    the_eval = DistToPointEvaluator.make_stage(name=f'{key}_dist_to_point', force_exact=True, **evaluator_stage_dict)

Before submitting Please check the following: