Skip to content

Commit

Permalink
fix or tag generation in linear path merging
Browse files Browse the repository at this point in the history
  fixes #24
  • Loading branch information
Giorgio Gonnella committed Apr 8, 2022
1 parent 0aafcef commit 12b31da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gfapy/graph_operations/linear_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ def __create_merged_segment(self, segpath, redundant_junctions=False,
merged.name = "_".join(merged.name)
ortag = merged.get("or")
if isinstance(ortag, list):
merged.set_datatype("or", "Z")
merged.set("or", ",".join(ortag))
if not gfapy.is_placeholder(merged.sequence):
merged.sequence = "".join(merged.sequence)
Expand Down

0 comments on commit 12b31da

Please sign in to comment.