Skip to content

Commit

Permalink
Change returned motif start and end positions to int
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluebbert authored Jan 8, 2024
1 parent c3cfad4 commit 5e1bf3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gget/gget_elm.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ def regex_match(sequence):
)

(start, end) = match_string.span(1)
elm_row.insert(loc=2, column="motif_start_in_query", value=str(start + 1))
elm_row.insert(loc=3, column="motif_end_in_query", value=str(end))
elm_row.insert(loc=2, column="motif_start_in_query", value=int(start + 1))
elm_row.insert(loc=3, column="motif_end_in_query", value=int(end))

elm_identifier = [str(x) for x in elm_row["ELMIdentifier"]][0]

Expand Down

0 comments on commit 5e1bf3c

Please sign in to comment.