llegregam / MSReader

Package for parsing a Tracefinder or Skyline file containing processed Mass Spectrometry data
GNU General Public License v3.0
2 stars 2 forks source link

56 utilisation de la colonne normalized area pour les ratios c12c13 skyline #61

Closed rkouakou06 closed 1 month ago

rkouakou06 commented 1 month ago

J'ai modifié la méthode "generate_ratios" (j'ai mis en commentaire juste en dessous la précédente méthode).

PS: il y a toujours les warning liés au "downcasting" :

FutureWarning: Downcasting behavior in `replace` is deprecated and will be removed in a future version. To retain the old behavior, explicitly call `result.infer_objects(copy=False)`. To opt-in to the future behavior, set `pd.set_option('future.no_silent_downcasting', True)`
  self.data["Area"] = self.data["Area"].replace("N/F", 0).infer_objects(copy=False)

Pourtant j'ai ajouté infer_object(), du coup je capte pas trop

llegregam commented 1 month ago

J'ai eu un petit beug sur un fichier à moi ^^' image

rkouakou06 commented 1 month ago

Tu as essayé avec cette version : pip install -U https://github.com/llegregam/MSReader/archive/refs/heads/56-utilisation-de-la-colonne-normalized-area-pour-les-ratios-c12c13-skyline.zip ?

llegregam commented 1 month ago

Oui j'ai checkout la branche et j'ai installé la version en local