This PR includes an update to the commodity_to_LWR function of scripts/transition_metrics.py to accept a list of strings (the prototype names) instead of a single string. This is necessary to add flexibility to the function for when there are multiple prototype names that are not LWRs in the simulations. The corresponding tests have been updated, and a new test was written to specifically test this function with multiple prototype names are provided.
This PR includes an update to the
commodity_to_LWR
function ofscripts/transition_metrics.py
to accept a list of strings (the prototype names) instead of a single string. This is necessary to add flexibility to the function for when there are multiple prototype names that are not LWRs in the simulations. The corresponding tests have been updated, and a new test was written to specifically test this function with multiple prototype names are provided.