Closed matthewlchambers closed 10 months ago
thanks @matthewlchambers - I'll look into this today
@matthewlchambers Are you planning on using this data/function? Or is this a bug that you noticed and are flagging? I do not use that function in the land attribution method anymore, so I can delete it
conclusion - delete fxn
The
get_US_urban_green_space_and_public_parks_ratio
function inliterature_values.py
contains atry . . . except
block that tries to catch aZeroDivisionError
. However, this error cannot be raised by thetry
block, since thetry
block only defines a function and doesn't actually do any division. Therefore, the desired behavior in the case of zero division will not occur.