feder-observatory / stellarphot

Stellar aperture photometry
https://stellarphot.readthedocs.io
BSD 3-Clause "New" or "Revised" License
4 stars 12 forks source link

Few hints as to what is making the pydantic model invalid #383

Open JuanCab opened 1 month ago

JuanCab commented 1 month ago

As noted in the review of PR #371 ,

[When] I used the review widget, I noticed that while we got an indication the whole model was bad, there was no way to find out WHY the model was bad. I purposely mis-entered the units for one entry and there was no clear indication that was the problem.

From what I understand of ipyautoui, we are suppressing the actual validation error message (which makes sense). But would it be possible to have a way of displaying the validation error if the user so chooses?

@mwcraig noted:

This is essentially the idea at maxfordham/ipyautoui#308

It would be nice if there was some option display more detailed information on the validation errors, maybe by clicking on the red x.