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 functionality to export a dataframe into a .pdb file #8

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

mgiammar
Copy link
Collaborator

This PR adds the mmdf.write function which permits the export of a pandas DataFrame object to a PDB file. Currently the method only supports writing PDB files since it only creates a structure object with the chains, residues, and atoms; requisite information for populating a mmCIF header is currently absent.

@alisterburt
Copy link
Contributor

@mgiammar sorry for not catching this, not sure how I missed it! What an awesome PR - functionality works great, would be really cool to get mmCIF working too 🙂

I've given you maintainer access to the repo, you should be able to push a tagged commit to main to trigger the deployment workflow

Assuming this remote for this repo is called upstream (standard convention) this should be as simple as...

git checkout main
git pull
git tag -a v*.*.* -m "v*.*.*"
git push --follow-tags upstream main

You should also come join us on the teamtomo zulip! https://imagesc.zulipchat.com/#narrow/channel/426493-TeamTomo

@alisterburt alisterburt merged commit c7eab5f into teamtomo:main Dec 10, 2024
@alisterburt
Copy link
Contributor

@cormsby626 hey look, people on the other side of the world are using your package!

@mgiammar mgiammar deleted the mdg_add_export branch January 3, 2025 19:33
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.

2 participants