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
Hi, everyone. IDataProviderTarget have optional parameter intensity_metric, but if target_type="int" and target doesn't have intensity_metric, we are getting an error (in case that we have only 1 target)
KeyError: "None of ['company_id', 'time_frame', 'scope'] are in the columns"
Hi, everyone. IDataProviderTarget have optional parameter
intensity_metric
, but iftarget_type="int"
and target doesn't haveintensity_metric
, we are getting an error (in case that we have only 1 target)here
https://github.com/OFBDABV/SBTi/blob/master/SBTi/target_validation.py#L40
I have a few suggestions how it can be fixed
intensity_metric
Here is test for reproduce the
issue
The text was updated successfully, but these errors were encountered: