cellgeni / sceasy

A package to help convert different single-cell data formats to each other
GNU General Public License v3.0
363 stars 53 forks source link

Should sceasy try to updateObject when failing to read an SCE object? #22

Open pcm32 opened 3 years ago

pcm32 commented 3 years ago

We have seen cases where sceasy fails to read a serialized sce object, would it be useful at that point to use https://rdrr.io/bioc/SingleCellExperiment/man/updateObject.html or will that be used anyway by the libraries that sceasy is using?

Thanks!

nh3 commented 3 years ago

Sorry for the very late reply. Is it possible to do that outside sceasy, e.g. supply updateObject(sce_obj) as the SCE object?

pcm32 commented 3 years ago

Well, this is on Galaxy, so we don't really control what happens before hand, but it might be good if sceasy can be defensive with what it receives, or possibly do on a try-catch, so that if it fails to read it as it is, then it tries updating it.