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

the script cannot extract insertions #1

Open
liyupeng111 opened this issue May 19, 2022 · 2 comments
Open

the script cannot extract insertions #1

liyupeng111 opened this issue May 19, 2022 · 2 comments

Comments

@liyupeng111
Copy link

Suggested change

           elif ref_aa == "-":
                # Insertion
                if results and results[-1][0] == "ins" and results[-1][1] == pos:
                    # Merge with previous
                    #results.append(("ins", pos, results[-1][2] + aa))
                    results[-1] = ("ins", pos, results[-1][2] + aa)
                else:
                    # Start a new insertion
                    results.append(("ins", pos, aa))
@timodonnell
Copy link
Contributor

Thanks - didn't realize anyone was using this repo! Would you mind submitting a PR with this change?

@liamxg
Copy link

liamxg commented Aug 10, 2024

Dear @liyupeng111 ,

Where to put this block?

Best,
Liam

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

No branches or pull requests

3 participants