[ENH] Replace asserts with proper if else Exception handling
#2635
| Job | Run time |
|---|---|
| 1m 24s | |
| 1m 24s |
asserts with proper if else Exception handling
#2635
| Job | Run time |
|---|---|
| 1m 24s | |
| 1m 24s |