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

File "Save session" and "save session as" are not integrated with mda_save #1

Open
bieniekmateusz opened this issue Jul 7, 2020 · 6 comments

Comments

@bieniekmateusz
Copy link
Owner

No description provided.

@shozebhaider
Copy link

How do we save sessions in this build then Mat ?

@bieniekmateusz
Copy link
Owner Author

Hi @shozebhaider . Calling mda_save also calls underneath the PyMOL's save therefore both .pse and .mse files will be generated. Thanks

@shozebhaider
Copy link

My issue has been that even though I save, I cannot load a session back into the pymol build. I keep getting the error message:
module 'pymol.cmd' has no attribute 'set_session'.

@bieniekmateusz
Copy link
Owner Author

Hi @shozebhaider, thanks for letting me know. I've submitted a fix for that. The only limitation unfortunately is that when saving and loading the trajectory, you will need to be in the same directory.

After "git pull" you will be able to update the version with "pip install .". It is just one line in the api.py file. Best, Mat

@shozebhaider
Copy link

Sorry @bieniekmateusz to get back to this. Now save_sessions works good like you have mentioned. But the build is unable to export molecule to save as a pdb or a mol2 or any format? Can this be looked into if you have time.

@bieniekmateusz
Copy link
Owner Author

Thanks @shozebhaider . It's corrected now. The last time I was syncing the latest PyMOL code with our changes I must have missed that git replaced "save" with "mda_save" rather than keeping them together. Thanks for letting me know!

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

2 participants