Add validation check to avoid duplicate names
As seen in lhcb-dpa/analysis-productions/LbAPI#24 (closed), when the names of productions are the same there is a chance that this will cause the merging step to fail. A nice way to prevent this is to have LbMCSubmit check for duplicate production names, and if there are duplicate names, then LbMCSubmit appends an integer (to a certain extent) to make sure that its unique.
Closes lhcb-dpa/analysis-productions/LbAPI#24 (closed)
TODO:
-
Clean up implementation
Edited by Emir Muhammad