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

Load molfile from ZIP archive #1

Open
erikhuck opened this issue May 11, 2023 · 0 comments
Open

Load molfile from ZIP archive #1

erikhuck opened this issue May 11, 2023 · 0 comments

Comments

@erikhuck
Copy link

def molfile_name(molfile: str):

@hunter-moseley @JinHuan95 This method can only load files saved in a regular directory as compared to molfiles saved in a ZIP archive. We could add an option where if the substring contains .zip:, we can assume it's in a ZIP archive and what comes after the colon : is the name of the molfile and what comes before the colon is the path to the ZIP archive. Otherwise we load the molfile as normal.

If we think this is a good idea, I could make a PR for this as I think it would be a pretty simple update. It looks like I have the ability to fork this repo as an alternative to giving me write-access.
image

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

1 participant