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
There's no reson to relaunch that exception with that message, the original exception should go through
From what I see in the history, the TypeError guard was there to catch possible problems when calling iter(...), but the call to iter() was moved outside the protected block.
The text was updated successfully, but these errors were encountered:
At
https://github.com/machinalis/featureforge/blob/develop/featureforge/flattener.py#L197 ,
TypeError
s are caught. The call tonext()
triggers feature evaluation, and when the call to a feature raises aTypeError
, that exception is caught and aValueError("Cannot fit with an empty dataset")
message is generated.There's no reson to relaunch that exception with that message, the original exception should go through
From what I see in the history, the
TypeError
guard was there to catch possible problems when callingiter(...)
, but the call toiter()
was moved outside the protected block.The text was updated successfully, but these errors were encountered: