Compare commits

..

No commits in common. "f4f672d514409d435d6e13a4290514b30f46d260" and "c8040a72f34ba5fe5a288c065d32013aeb0c4098" have entirely different histories.

3 changed files with 5 additions and 17 deletions

View File

@ -2,15 +2,3 @@
# Build first residue including sidechain
# Add ghost C' for first NeRF iteration
# Using C
from protein.residue import Residue, ResidueName
from geometry.backbone import GEO, ORI
met1 = Residue(ResidueName.MET)
print(met1.name.value)
for atom in ORI:
met1.backbone["atoms"][atom] = ORI[atom]
print(met1.backbone["atoms"])

View File

@ -29,12 +29,12 @@ class Residue():
self.name = name
self.backbone = {
'atoms': { "N": None, "CA": None, "C": None, "O": None },
'phi': None,
'psi': None
atoms: { "N": None, "CA": None, "C": None, "O": None },
phi: None,
psi: None
}
self.sidechain = {
'atoms': {},
'chis': []
atoms: {},
chis: []
}