File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -206,16 +206,16 @@ def sphericity_axis(semi_major, semi_minor):
206206 / (a + (b ** 2 ) / root * np .log ((a + root ) / b ))
207207 )
208208 except ZeroDivisionError :
209- LOGGER .debug (
210- "Zero division in sphericity calculation was replaced by None"
211- )
209+ # LOGGER.debug(
210+ # "Zero division in sphericity calculation was replaced by None"
211+ # )
212212 result = None
213213 except ValueError as e :
214214 LOGGER .warning (f"Error encountered in calculation : { e } " )
215215 result = "Error in calculation"
216216
217217 if math .isnan (result ):
218- LOGGER .debug ("NaN in sphericity calculation was replaced by None" )
218+ # LOGGER.debug("NaN in sphericity calculation was replaced by None")
219219 result = None
220220
221221 return result
You can’t perform that action at this time.
0 commit comments