diff --git a/nmr-spectrum/multipletAnalysis.py b/nmr-spectrum/multipletAnalysis.py index 5c116ec..455eca2 100644 --- a/nmr-spectrum/multipletAnalysis.py +++ b/nmr-spectrum/multipletAnalysis.py @@ -74,8 +74,6 @@ def create(self): self.createTool() self.title = Div(text="Edit Multiplet:", width=500) - # self.name = TextInput(title="Name:", value="", placeholder="Name", width=150, disabled=True) - # self.name.on_change('value', lambda attr, old, new: self.manualChange('name', new)) self.classes = Select(title="Class:", options=["m","s","d","t","q","p","h","hept","dd","ddd","dt","td","ddt"], width=100, disabled=True) self.classes.on_change('value', lambda attr, old, new: self.manualChange('classes', new)) @@ -193,7 +191,6 @@ def calcJ(self, ppm, multiplet): calc = sorted([round(abs(ppm[j[0]] - ppm[j[1]]) * getFrequency(self.udic), 1) for j in js], reverse=True) return ', '.join(str(j) for j in calc) + ' Hz' return "" - # return round(abs(np.ediff1d(ppm).mean()) * getFrequency(self.udic) if len(ppm) > 1 else 0, 1) def predictMultiplet(self, peaks):