seismometer icon indicating copy to clipboard operation
seismometer copied to clipboard

Validation failed on None, but the function accepts empty string and nothing

Open JackLiang1272 opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe

prediction_path and event_path are consider required even when predictions_frame is populated. imageBecause load_yml will populate the field with None in case like this image, it will result in a validation error even if user is already providing the input when the predictions_frame.

Describe the solution you'd like

Make prediction_path and event_path optional. Or update load_yaml so it wouldn't populate the field with None.

Describe alternatives you've considered

Additional context

JackLiang1272 avatar Sep 26 '24 16:09 JackLiang1272