kreshuklab / go-nuclear

Guides and code for 3D nuclear instance segmentation
MIT License
20 stars 3 forks source link

Use pydantic 2 with v1 sub-package. #2

Closed tibuch closed 1 week ago

tibuch commented 6 months ago

Hi,

Thank you for the amazing pre-trained models and all the work you put into making them easily available!

I was hoping that we can simply bump pydantic to version 2 and use pydantic.v1 inside go-nuclear. This would allow me to make use of pydantic2 features in my own config files :nerd_face:

Note: I did not run any tests with this change.

What do you think?

Cheers

qin-yu commented 1 week ago

OMG @tibuch, I’m so sorry for completely overlooking this PR! It looks fantastic—thank you for sharing this information. It’s really helpful. I’m merging it now.