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

fix showAtomicLines gaps #1910

Merged
merged 1 commit into from
Aug 1, 2024
Merged

Conversation

jamesmkrieger
Copy link
Contributor

Without the fix, we get overlapping of chains after the second one onto the second one:

In [1]: import matplotlib.pyplot as plt; plt.ion()
Out[1]: <matplotlib.pyplot._IonContext at 0x7fa8eb592940>

In [2]: from prody import *

In [3]: ag = parsePDB('7kec')

In [4]: atoms = ag.ca

In [5]: showAtomicLines(atoms.getBetas(), atoms=atoms, gap=True)

Figure_2

With the fix, everything is as it should be:
Figure_3

@jamesmkrieger jamesmkrieger requested a review from atbogetti July 7, 2024 15:13
@sahags sahags self-assigned this Aug 1, 2024
@jamesmkrieger jamesmkrieger merged commit 4ba3e70 into prody:main Aug 1, 2024
5 checks passed
@jamesmkrieger jamesmkrieger deleted the atomic_lines_gaps branch August 1, 2024 18:53
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.

3 participants