Skip to content

Cast exon phases to integers - #17

Merged
Guichaoua merged 1 commit into
masterfrom
fix-phase-columns-as-int
Jun 29, 2026
Merged

Cast exon phases to integers#17
Guichaoua merged 1 commit into
masterfrom
fix-phase-columns-as-int

Conversation

@Guichaoua

Copy link
Copy Markdown
Contributor

This PR fixes a type issue in read_exon_file(): StartPhase and EndPhase can be read by pandas as floats (for example 1.0 or 2.0). Later, these values can be used to compute slice indices in _manage_end_phase_positive_strand(), which raises TypeError when the slice index is a float.\n\nThe fix explicitly converts StartPhase and EndPhase to integers after reading exonstable.tsv.

@Guichaoua
Guichaoua merged commit 5a28661 into master Jun 29, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant