Skip to content

Commit

Permalink
feat: add c6d5cl
Browse files Browse the repository at this point in the history
  • Loading branch information
Lan Le committed Oct 2, 2023
1 parent 8898a25 commit 51e7ac3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions chem_spectra/lib/converter/share.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,46 +97,46 @@ def parse_solvent(base):
if base.ncl == '13C':
if 'acetone' in orig_solv:
base.dic['$CSSOLVENTNAME'] = ['Acetone-d6 (sep)']
base.dic['$CSSOLVENTVALUE'] = ['29.920']
base.dic['$CSSOLVENTVALUE'] = ['29.640']
base.dic['$CSSOLVENTX'] = ['0']
base.solv_peaks = [(27.0, 33.0), (203.7, 209.7)]
elif 'dmso' in orig_solv:
peak = 39.51
peak = 39.52
delta = 3
base.dic['$CSSOLVENTNAME'] = ['DMSO-d6']
base.dic['$CSSOLVENTVALUE'] = [str(peak)]
base.dic['$CSSOLVENTX'] = ['0']
base.solv_peaks = [(peak - delta, peak + delta)]
elif 'methanol-d4' in orig_solv or 'meod' in orig_solv:
peak = 49.15
peak = 49.00
delta = 5
base.dic['$CSSOLVENTNAME'] = ['Methanol-d4 (sep)']
base.dic['$CSSOLVENTVALUE'] = [str(peak)]
base.dic['$CSSOLVENTX'] = ['0']
base.solv_peaks = [(peak - delta, peak + delta)]
elif 'dichloromethane-d2' in orig_solv:
peak = 54.0
peak = 53.84
delta = 3
base.dic['$CSSOLVENTNAME'] = ['Dichloromethane-d2 (quin)']
base.dic['$CSSOLVENTVALUE'] = [str(peak)]
base.dic['$CSSOLVENTX'] = ['0']
base.solv_peaks = [(peak - delta, peak + delta)]
elif 'acetonitrile-d3' in orig_solv:
peak = 1.39
peak = 1.32
delta = 3
base.dic['$CSSOLVENTNAME'] = ['Acetonitrile-d3 (sep)']
base.dic['$CSSOLVENTVALUE'] = [str(peak)]
base.dic['$CSSOLVENTX'] = ['0']
base.solv_peaks = [(peak - delta, peak + delta)]
elif 'benzene' in orig_solv:
peak = 128.39
peak = 128.06
delta = 3
base.dic['$CSSOLVENTNAME'] = ['Benzene (t)']
base.dic['$CSSOLVENTVALUE'] = [str(peak)]
base.dic['$CSSOLVENTX'] = ['0']
base.solv_peaks = [(peak - delta, peak + delta)]
elif 'chloroform-d' in orig_solv or 'cdcl3' in orig_solv:
peak = 77.0
peak = 77.16
delta = 3
base.dic['$CSSOLVENTNAME'] = ['Chloroform-d (t)']
base.dic['$CSSOLVENTVALUE'] = [str(peak)]
Expand Down

0 comments on commit 51e7ac3

Please sign in to comment.