Skip to content

Commit

Permalink
Fix a problem with FitPeaksResult.to_dataframe_peaks
Browse files Browse the repository at this point in the history
closes #142
  • Loading branch information
georgievgeorgi committed Aug 29, 2024
1 parent 4745880 commit 58b34c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ramanchada2/misc/types/fit_peaks_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def to_dataframe(self):
).sort_values('name')

def to_dataframe_peaks(self):
regex = re.compile(r'p([0-1]+)_(.*)')
regex = re.compile(r'p([0-9]+)_(.*)')
ret = defaultdict(dict)
for group_i, group in enumerate(self):
for par in group.params:
Expand Down

0 comments on commit 58b34c4

Please sign in to comment.