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
[WIP] Packaging #54
[WIP] Packaging #54
Conversation
Codecov Report
@@ Coverage Diff @@
## graphein-api #54 +/- ##
=================================================
+ Coverage 19.33% 43.79% +24.46%
=================================================
Files 25 41 +16
Lines 1583 2379 +796
=================================================
+ Hits 306 1042 +736
- Misses 1277 1337 +60
Continue to review full report at Codecov.
|
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.46.0 to 4.60.0. - [Release notes](https://github.com/tqdm/tqdm/releases) - [Commits](tqdm/tqdm@v4.46.0...v4.60.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@@ -27,7 +28,7 @@ def add_sequence_to_nodes(n, d): | |||
# Todo mapping with bioservices to support other protein IDs? | |||
|
|||
for id in d["uniprot_ids"]: | |||
d[f"sequence_{id}"] = u.get_fasta_sequence(id) | |||
d[f"sequence"] = u.get_fasta_sequence(id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for f-string anymore, since no variable is being inserted?
d[f"sequence"] = u.get_fasta_sequence(id) | |
d["sequence"] = u.get_fasta_sequence(id) |
notebooks/atom_graph_tutorial.ipynb
Outdated
"from graphein.protein.graphs import construct_graph\n", | ||
"\n", | ||
"g = construct_graph(config=config, pdb_code=\"3eiy\")\n", | ||
"g = construct_graph(config=config, pdb_path=\"../examples/pdbs/3eiy.pdb\")" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This path is incorrect.
"g = construct_graph(config=config, pdb_path=\"../examples/pdbs/3eiy.pdb\")" | |
"g = construct_graph(config=config, pdb_path=\"../graphein/examples/pdbs/3eiy.pdb\")" |
adding None to the end of the line coord https://stackoverflow.com/a/42302242/1079075
For my own notes: Currently the TravisCI tests are failing because the tests are too slow. This is surprising to me, given they aren't using many resources on my machine. This might be solved with one of the |
Hey @Seanny123 ! iirc this is due to the pre-trained ESM models being downloaded for use in the sequence features. Probably makes sense to remove that from tests. |
Enable 3D visualisation with Plotly
Bump tqdm from 4.46.0 to 4.60.0
Bumps [biopandas](https://github.com/rasbt/biopandas) from 0.2.4 to 0.2.8. - [Release notes](https://github.com/rasbt/biopandas/releases) - [Changelog](https://github.com/rasbt/biopandas/blob/main/docs/CHANGELOG.md) - [Commits](BioPandas/biopandas@v0.2.4...v0.2.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: Sean Aubin <seanaubin@gmail.com>
Bump biopandas from 0.2.4 to 0.2.8
should not allow any str
plt is the matplotlib.pyplot module and isn't helfpul to return
…tering of decriptors.
conversion from/to nx <-> pyg/dgl draft + add baseline notebook
Adding:
versioneer
for version management