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 Mar 31, 2024
1 parent e5ffb9b commit 5f3fff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crim_intervals/main_objs.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ def linkExamples(self, df, piece_url='', mode=''):

def _constructColumnwiseUrl(cell, piece_url):
ema_expression = ''.join(("/", cell, "/highlight"))
if "-" not in cell:
if "-" not in cell.split("/", 1)[0]:
ema_measures = re.findall(r'\d+', cell.split("/", 1)[0])
ema_measure_integers = [int(x) for x in ema_measures]
min_meas = min(ema_measure_integers)
Expand Down

0 comments on commit 5f3fff7

Please sign in to comment.