Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/venv/
/.idea/
/test_pypi_token.txt
ms_reader/__pycache__/
ms_reader.egg-info/
tests/__pycache__/
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [1.9.0] - 2026-05-27

### Addition

Added a "R Squared" column in the calibration tab of the output file, taken directly from the Skyline input file.

# Changelog

## [1.8.1] - 2026-02-02

### Changed
Expand Down
2 changes: 1 addition & 1 deletion ms_reader/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.8.1"
__version__ = "1.9.0"
3 changes: 2 additions & 1 deletion ms_reader/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def __init__(self, data, calrep=None, metadata=None, met_class="CM"):
columns = [
"Compound", "Sample_Name", "Area", "Response Ratio", "Sample Type",
"Calculated Amt", "Theoretical Amt",
"Excluded", "%Diff"
"Excluded", "%Diff", "R Squared"
]
self.data = self.data[columns].copy()
self._replace_nf()
Expand Down Expand Up @@ -379,6 +379,7 @@ def _generate_minmax_calib(self):
{"min": "LLOQ", "max": "ULOQ"},
axis=1
)
min_max_calib["R Squared"] = self.calib_data.groupby("Compound")["R Squared"].first()
self.calib_data = min_max_calib
self.excel_tables.append(
("Calibration", self.calib_data)
Expand Down
Loading