Skip to content

Commit

Permalink
nice
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasturcani committed Nov 3, 2024
1 parent a729bf8 commit 3a19cd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/aitomic/_internal/bruker.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ def nmr_peaks_df_1d(
spectra = []
for binary_file in tmp.glob("**/1r"):
spectrum_dir = binary_file.parent
spectrum_label = str(spectrum_dir.relative_to(tmp))
for peak in _pick_peaks(spectrum_dir, peak_threshold):
ppms.append(peak.ppm)
volumes.append(peak.volume)
spectra.append(spectrum_dir.name)
spectra.append(spectrum_label)
return pl.DataFrame(
{
"spectrum": spectra,
Expand Down

0 comments on commit 3a19cd4

Please sign in to comment.