Skip to content

Commit

Permalink
fix: attempting to subscript an object
Browse files Browse the repository at this point in the history
  • Loading branch information
katiestahl committed Aug 26, 2024
1 parent af78477 commit 599da7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fusor/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ def structure_ends(cls, values):
"""
elements = values.structure
if isinstance(elements[0], TranscriptSegmentElement):
if elements[0].exonEnd is None and not values["regulatoryElement"]:
if elements[0].exonEnd is None and not values.regulatoryElement:
msg = "5' TranscriptSegmentElement fusion partner must contain ending exon position"
raise ValueError(msg)
elif isinstance(elements[0], LinkerElement):
Expand Down

0 comments on commit 599da7f

Please sign in to comment.