Commit cc444b68 authored by cmaffeo2's avatar cmaffeo2
Browse files

Fixed little bugs, should be squashed into previous

parent f4406138
......@@ -39,10 +39,9 @@ class CanonicalNucleotideFactory(Group):
type_list = []
for i in range(len(tns)):
tn = tns[i]
if tn not in atomic_types:
type_ = ParticleType(tn.decode('UTF-8'),
charge = d['f3'][i],
mass = d['f4'][i])
type_ = ParticleType(tn.decode('UTF-8'),
charge = d['f3'][i],
mass = d['f4'][i])
p = PointParticle( type_ = type_,
position = [xs[i],ys[i],zs[i]],
name = names[i].decode('UTF-8'),
......
......@@ -2032,7 +2032,7 @@ class SegmentModel(ArbdModel):
for s in self.strands:
s.update_atomic_orientations(orientation)
def._write_atomic_ENM(self, prefix, lattice_type=None):
def _write_atomic_ENM(self, prefix, lattice_type=None):
## TODO: ensure atomic model was generated already
if lattice_type is None:
lattice_type = self.lattice_type
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment