teamtomo / cryotypes

Super-simple data structures for cryo-electron tomography data
Other
3 stars 2 forks source link

Coerce incomplete data to full cryopose spec #14

Closed alisterburt closed 1 year ago

alisterburt commented 2 years ago

We have the validators @brisvag added, what about coercing by adding missing columns?

brisvag commented 2 years ago

Yes!

alisterburt commented 1 year ago

closed by #15

alisterburt commented 1 year ago

or not? there is some coersion logic in the constructor though, not sure when it was added

brisvag commented 1 year ago

Yes, it shoudl be good; if you pass coerce=True then you should get a df with all the required columns populated; otherwise, you get an error.