Skip to content

Commit

Permalink
Fix for issue #57 suggestion by @qitsweauca
Browse files Browse the repository at this point in the history
  • Loading branch information
jamaliki authored Nov 22, 2023
1 parent c093782 commit e3cf6a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model_angelo/utils/hmm_sequence_align.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ def sort_chains(
unique_seqs = np.unique(match_to_sequence.sequence_idxs)

og_chain_lens = np.array([len(c) for c in chains])
og_chain_starts = np.array([c[0] for c in chains])
og_chain_ends = np.array([c[-1] for c in chains])
og_chain_starts = np.array([c[0] for c in chains], dtype=np.int32)
og_chain_ends = np.array([c[-1] for c in chains], dtype=np.int32)

chain_starts = og_chain_starts.copy()
chain_ends = og_chain_ends.copy()
Expand Down

0 comments on commit e3cf6a6

Please sign in to comment.