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

Add show_out_boundary_bonds #83

Merged
merged 1 commit into from
Nov 24, 2024
Merged

Add show_out_boundary_bonds #83

merged 1 commit into from
Nov 24, 2024

Conversation

superstar54
Copy link
Owner

@superstar54 superstar54 commented Nov 24, 2024

from weas_widget import WeasWidget
from ase.io import read
atoms = read("datas/urea.cif")
viewer1 = WeasWidget()
viewer1.from_ase(atoms)
viewer1.avr.show_hydrogen_bonds = True
viewer1.avr.boundary = [[-0.1, 1.1], [-0.1, 1.1], [-0.1, 1.1]]
viewer1.avr.show_bonded_atoms = True
viewer1.avr.model_style = 2
viewer1.avr.show_out_boundary_bonds = True
viewer1

image

@superstar54 superstar54 merged commit a7516a1 into main Nov 24, 2024
13 checks passed
@superstar54 superstar54 deleted the show_out_boundary_bonds branch November 24, 2024 22:06
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