ForceBalance API
1.3
Automated optimization of force fields and empirical potentials
bin
filecnv.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
3
# Very simple file format conversion script, works in 90% of situations
4
# and good for saving keystrokes.
5
6
from
forcebalance.molecule
import
Molecule
7
from
sys
import
argv
8
9
def
main
():
10
topfnm = argv[3]
if
len(argv) >= 4
else
None
11
M = Molecule(argv[1], top=topfnm)
12
M.write(argv[2])
13
14
if
__name__ ==
"__main__"
:
15
main
()
molecule
filecnv.main
def main()
Definition:
filecnv.py:9
Generated on Thu Jul 9 2020 11:51:10 for ForceBalance API by
1.8.13