-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #165 from Autodesk/deploy
Deploy 0.8.0beta2
- Loading branch information
Showing
43 changed files
with
1,021 additions
and
1,031 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
368 changes: 44 additions & 324 deletions
368
moldesign/_notebooks/Tutorial 1. Making a molecule.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
404 changes: 45 additions & 359 deletions
404
moldesign/_notebooks/Tutorial 2. Biochemical basics.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
import pytest | ||
import Bio.PDB | ||
import moldesign as mdt | ||
|
||
from .helpers import get_data_path | ||
from .molecule_fixtures import pdb3aid | ||
|
||
|
||
@pytest.fixture | ||
def biopy_3aid(): | ||
parser = Bio.PDB.PDBParser() | ||
structure = parser.get_structure('3aid', get_data_path('3aid.pdb')) | ||
return structure | ||
|
||
|
||
def test_biopy_to_mdt(biopy_3aid, pdb3aid): | ||
mol = mdt.interfaces.biopython_to_mol(biopy_3aid) | ||
assert mol.num_atoms == pdb3aid.num_atoms | ||
assert mol.num_residues == pdb3aid.num_residues | ||
assert mol.numchains == pdb3aid.num_chains |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
import sys | ||
|
||
|
||
@pytest.mark.tryfirst | ||
def test_lazy_imports(): | ||
import moldesign | ||
|
||
|
Oops, something went wrong.