Skip to content

Commit

Permalink
fix(pipeline.py): respect metadata locations
Browse files Browse the repository at this point in the history
Previously, the call to construct the necessary dataframe had ignored any passed in metadata locations. Now, these locations rare referenced in construction, insuring they are available to all future methods.
  • Loading branch information
rbpatt2019 committed Jan 4, 2022
1 parent 48561d9 commit e906e87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lta/helpers/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ def __post_init__(self) -> None:
self.file,
index_names=["Lipid", "Category", "m/z"],
column_names=[
"Mode",
self.mode,
"Sample",
"Phenotype",
self.level,
"Generation",
"Tissue",
self.tissue,
"Handling",
],
index_col=[0, 1, 2],
Expand Down

0 comments on commit e906e87

Please sign in to comment.