Skip to content

Commit

Permalink
Update main_objs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardFreedman committed Aug 3, 2023
1 parent e8b69bc commit 9a0fad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions intervals/main_objs.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def _ptype_ema_helper(self, row, ngrams):
ret = ngrams.loc[set(this_point)]
addresses = self.emaAddresses(df=ret, mode='')
full_ema = self.combineEmaAddresses(addresses)
# return full_ema
return full_ema

def emaAddresses(self, df=None, mode=''):
'''
Expand Down Expand Up @@ -673,7 +673,7 @@ def emaAddresses(self, df=None, mode=''):
mel = self.melodic(end=False)
ngrams = self.ngrams(df = mel, offsets = 'both', n = ngram_length)
p_types['ema'] = p_types.apply(lambda row: self._ptype_ema_helper(row, ngrams), axis=1)
return p_types
# return p_types

if mode.startswith('p'):
pass
Expand Down

0 comments on commit 9a0fad1

Please sign in to comment.