You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The triggers for 2016 and 2016APV are the same
if year == "2016APV":
year = "2016"
#The trigger list for 2022 and 2022EE are the same
if year == "2022EE":
year = "2022"
I think it would be better to handle this on the users' side (where the function is called) rather than inside of this function. The year is used when we use it as a key for the dataset dictionary (but the dataset dictionary is also passed to this function). So the handling of which year goes with which key should go on the user side, not hard coded within this function.
The text was updated successfully, but these errors were encountered:
Regarding this code:
I think it would be better to handle this on the users' side (where the function is called) rather than inside of this function. The year is used when we use it as a key for the dataset dictionary (but the dataset dictionary is also passed to this function). So the handling of which year goes with which key should go on the user side, not hard coded within this function.
The text was updated successfully, but these errors were encountered: