IMP  2.0.0
The Integrative Modeling Platform
setup.py
1 ## \example kernel/setup.py
2 ## Standard setup code.
3 
4 import IMP.core
5 
6 def create_model_and_particles():
7  m= IMP.Model()
8  ps= [IMP.Particle(m) for i in range(0,100)]
10  IMP.algebra.Vector3D(10,10,10))
11  for p in ps:
13  d.set_coordinates_are_optimized(True)
15  return (m, sc)