Skip to content

Commit 51fa761

Browse files
committed
Sort file paths in AgilentCSVReader for consistent processing order
1 parent 422c561 commit 51fa761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chromhandler/readers/agilent_csv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def read(self) -> list[Measurement]:
2020
"""
2121

2222
measurements = []
23-
for path_idx, csv_path in enumerate(self.file_paths):
23+
for path_idx, csv_path in enumerate(sorted(self.file_paths)):
2424
peaks = self._read_peaks_from_csv(csv_path)
2525
chromatogram = Chromatogram(peaks=peaks)
2626

0 commit comments

Comments
 (0)