MannLabs / alphabase

Infrastructure of AlphaX ecosystem
https://alphabase.readthedocs.io
Apache License 2.0
31 stars 9 forks source link

quick fix for save_hdf codes #6

Closed jalew188 closed 3 years ago

jalew188 commented 3 years ago

save_hdf in the library classes by using:

_hdf.library = {
    'precursor_df' = precursor_df,
    'fragment_df' = ....
}
jalew188 commented 3 years ago

3 comments by @swillems

Even better: this should work as well:

_hdf_lib.decoy = {
        "precursor_df":  self._precursor_df,
        "fragment_mass_df": self._fragment_mass_df,
        "fragment_inten_df": self._fragment_inten_df,
}