Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
psalios committed Apr 9, 2018
1 parent 94dc902 commit 4467656
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions nmr-spectrum/multipletAnalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ def create(self):
self.createTool()

self.title = Div(text="<strong>Edit Multiplet:</strong>", 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))
Expand Down Expand Up @@ -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):

Expand Down

0 comments on commit 4467656

Please sign in to comment.