Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accounting for the possibility of a delete-state in function check_for_j. #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

grigoryang
Copy link

On occasion, line 744 in anarcy.py (line reading jRegion = [ (state, index+cys_si+1) for state, index in re_states[0] if state[0] >= 117 ]) fails with an error about adding int and NoneType. This is because the value index can end up being None if the current state in the state vector is a delete state (see _hmm_alignment_to_states). I would be very curious to know if you think my fix is correct. Please let me know and hope this helps.

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.

2 participants