mirror of
https://gitlab.com/scemama/eplf
synced 2024-10-31 19:23:55 +01:00
27 lines
476 B
Python
Executable File
27 lines
476 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import sys,os,time
|
|
from resultsFile import *
|
|
|
|
# Check command line
|
|
|
|
if len(sys.argv) != 2:
|
|
print "usage: "+sys.argv[0]+" file.out"
|
|
sys.exit(2)
|
|
|
|
firstArg = sys.argv[1]
|
|
|
|
file = open("eplf_grid.data","w")
|
|
print >>file, "&eplf_grid"
|
|
print >>file, " Npoints=80,80,80"
|
|
print >>file, "/"
|
|
file.close()
|
|
|
|
file = getFile(firstArg)
|
|
print firstArg, 'recognized as', str(file).split('.')[-1].split()[0]
|
|
|
|
|
|
from qcio import qcio
|
|
write_qcioFile(file,"QCIO_File")
|
|
|