Skip to content

Commit

Permalink
fix: fix wrong auto peaks for ACF layout (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
baolanlequang authored Aug 3, 2023
1 parent a8137b7 commit d315101
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chem_spectra/lib/converter/jcamp/ni.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ def __thres(self):
return THRESHOLD_UVVIS
elif dt in ['UV/VIS SPECTRUM', 'UV-VIS', 'ULTRAVIOLET SPECTRUM']:
return THRESHOLD_UVVIS
elif 'THERMOGRAVIMETRIC ANALYSIS' == dt:
elif dt in ['THERMOGRAVIMETRIC ANALYSIS', 'DLS ACF']:
return THRESHOLD_TGA
elif dt in ['X-RAY DIFFRACTION', 'CIRCULAR DICHROISM SPECTROSCOPY', 'CYCLIC VOLTAMMETRY', 'SORPTION-DESORPTION MEASUREMENT',
'DLS ACF', 'DLS INTENSITY', 'DLS intensity']:
'DLS INTENSITY', 'DLS intensity']:
return THRESHOLD_XRD
elif dt in ['Emissions', 'EMISSIONS']:
return THRESHOLD_EMISSION
Expand Down

0 comments on commit d315101

Please sign in to comment.