Skip to content

Commit

Permalink
added vis for peaks
Browse files Browse the repository at this point in the history
  • Loading branch information
haeussma committed Sep 4, 2024
1 parent 8914a95 commit c13e3f0
Show file tree
Hide file tree
Showing 5 changed files with 502 additions and 103 deletions.
6 changes: 4 additions & 2 deletions chromatopy/readers/chromeleon.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ def _map_measurement(

# reaction_time, unit = self._extract_reaction_time(file_name)

print(content["Sample Information"][2][1])

return Measurement(
id=content["Sample Information"][2][1],
chromatograms=[chromatogram],
Expand Down Expand Up @@ -147,7 +149,7 @@ def _get_file_paths(self):
len(files) == len(self.reaction_times)
), f"Number of files ({len(files)}) does not match the number of reaction times ({len(self.reaction_times)})."

self.file_paths = files
self.file_paths = sorted(files)


if __name__ == "__main__":
Expand All @@ -161,4 +163,4 @@ def _get_file_paths(self):
)
measurements = reader.read()

print(measurements)
# print(measurements)
Loading

0 comments on commit c13e3f0

Please sign in to comment.