Open hainm opened 9 years ago
In [8]: cat principal.in
parm ../Test_IRED/1IEE_A_prot.prmtop
noprogress
trajin ../Test_IRED/1IEE_A_test.mdcrd 1 10
principal * dorotation mass out principal.dat
trajout Ctest.pdb pdb
In [9]: s = pt.io.load_cpptraj_file('./principal.in')
In [10]: s
Out[10]: <pytraj.core.CpptrajState.CpptrajState at 0x2aaac9dd91f8>
In [11]: s.run()
Out[11]: 0
In [12]: s.da
s.datafilelist s.datasetlist
In [12]: s.datasetlist
Out[12]: <pytraj.DataSetList with 0 datasets>
updated need to specify a name so cpptraj can dump data internally. Need to fix anyway.
This is stdout
TODO: need to write different clusters to different files for pytraj too.