Skip to content

Commit

Permalink
Merge pull request #33 from llegregam/Dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
llegregam committed Feb 6, 2023
2 parents 044ebf8 + 769ffdd commit f5ea561
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ms_reader/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.3.2"
__version__ = "1.3.3"
4 changes: 3 additions & 1 deletion ms_reader/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,9 @@ def generate_areas_table(self):

# Normalise c12 data
if self.metadata is not None:
self.norm_c12_areas = self.normalise(self.c12_areas.copy())
self.norm_c12_areas = self.normalise(
self.c12_areas.copy(), False
)
self.norm_c12_areas = self.norm_c12_areas.applymap(format)
self.norm_c12_areas["unit"] = f"{base_unit}/{self.norm_unit}"
self.norm_c12_areas = self.norm_c12_areas[c12_cols]
Expand Down
Binary file added tests/data/good_tables_no_norm.xlsx
Binary file not shown.
Binary file added tests/data/good_tables_norm.xlsx
Binary file not shown.

0 comments on commit f5ea561

Please sign in to comment.