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: Structure visualization not working reliably #239

Open
ltalirz opened this issue Jun 30, 2020 · 5 comments · Fixed by #245
Open

🐛 FIX: Structure visualization not working reliably #239

ltalirz opened this issue Jun 30, 2020 · 5 comments · Fixed by #245
Assignees
Labels
priority/important Not absolutely required, but important to fix section/running-calculations Sections on running calculations and workflows type/bug Something isn't working

Comments

@ltalirz
Copy link
Member

ltalirz commented Jun 30, 2020

For me, the line verdi data structure show --format ase <IDENTIFIER> only "kind of" works - it opens the ASE window locally, but it's not really interactive (e.g. I cannot click & drag the molecule).

Launching xrysden straight up fails with

    (file "/usr/share/xcrysden/Tcl/xcInit.tcl" line 609)
X Error of failed request: BadWindow (invalid Window parameter)
    Major opcode of failed request: 12
    ResourceID in failed request: 0xffffffff
    Serial number of failed request: 776

Perhaps this has to do with my local window manager?

@mbercx
Copy link
Member

mbercx commented Jul 3, 2020

Using ASE works fine for me (if a bit slow). I also have the same error when trying to use xcrysden.

@ltalirz
Copy link
Member Author

ltalirz commented Jul 4, 2020

Ok... in that case the instruction for xcrysden should probably be removed.
Note that one can get quite performant structure visualization via the jupyter notebook connection (and, e.g. the ASE visualizer there)

@mbercx
Copy link
Member

mbercx commented Jul 4, 2020

Note that I meant that if I try to use verdi data structure show in combination with xcrysden, this resulted in the error you showed above. The current instructions are to copy the exported .xsf to your local machine and then use xcrysden to open it, which should work fine if they have the program installed. So I've left these instructions in the hands on.

@chrisjsewell chrisjsewell linked a pull request Jul 4, 2020 that will close this issue
@ltalirz
Copy link
Member Author

ltalirz commented Jul 4, 2020

The current instructions are to copy the exported .xsf to your local machine and then use xcrysden to open it, which should work fine if they have the program installed. So I've left these instructions in the hands on.

Oh, I see... you are right.
I do want to point out, though, that this is easily overread - xcrysden is not that widely used; it is installed on the VM, and the step before asked you to run commands on the VM.

Perhaps one could move the export functionality into a separate "note" box & instead of providing the command for opening the file in xcrysden mention all the different export formats that are available (cif, xyz, xsf)

@mbercx
Copy link
Member

mbercx commented Jun 9, 2021

@ramirezfranciscof would you still want to visualize the structure like this in the "Running calculations" section?

@mbercx mbercx added priority/important Not absolutely required, but important to fix section/running-calculations Sections on running calculations and workflows type/bug Something isn't working labels Jun 9, 2021
@mbercx mbercx changed the title basics: structure visualization not working reliably? 🐛 FIX: Structure visualization not working reliably Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/important Not absolutely required, but important to fix section/running-calculations Sections on running calculations and workflows type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants