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

Update biopandas usage: Read pdb from list of strings #48

Open
dominiquesydow opened this issue Oct 21, 2020 · 1 comment
Open

Update biopandas usage: Read pdb from list of strings #48

dominiquesydow opened this issue Oct 21, 2020 · 1 comment
Labels
module-io Concerns opencadd.io module

Comments

@dominiquesydow
Copy link
Contributor

Code improvement in opencadd.io.dataframe:

Avoid to use the private PandasPdb method _construct_df.

pdb_dict = ppdb._construct_df(pdb_text.splitlines(True))

If possible in the future, use e.g.

ppdb = PandasPdb()
ppdb.read_pdb_from_list()  # New feature?

See feature request:
BioPandas/biopandas#70

@dominiquesydow
Copy link
Contributor Author

Wait for biopandas 0.3.0 release:

  • Use new PandasPdb.read_pdb_from_list method
  • Adapt to new file format error handling in read_pdb and read_mol2

(see biopandas CHANGELOG)

@dominiquesydow dominiquesydow added the module-io Concerns opencadd.io module label Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module-io Concerns opencadd.io module
Projects
None yet
Development

No branches or pull requests

1 participant