Skip to content

Commit

Permalink
fix incorrect feature in log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
gamcil committed Nov 25, 2024
1 parent a4242d2 commit 91986d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clinker/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def shift_origin(record: SeqRecord) -> SeqRecord:
shift = spanning_origin[0].location.parts[0].start

LOG.info(f"Found {len(spanning_origin)} features wrapping origin")
LOG.info(f"Setting new origin to {shift} (start of {feature.qualifiers.get('locus_tag')[0]})")
LOG.info(f"Setting new origin to {shift} (start of {spanning_origin[0].qualifiers.get('locus_tag')[0]})")

# BioPython-recommended way of shifting origin, but deletes SeqFeatures which span the origin
record = record[shift:] + record[:shift]
Expand Down

0 comments on commit 91986d8

Please sign in to comment.