mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-26 21:33:30 +01:00
14 lines
299 B
Fortran
14 lines
299 B
Fortran
BEGIN_SHELL [ /usr/bin/env python3 ]
|
|
from perturbation import perturbations
|
|
import os
|
|
|
|
filename = os.environ["QP_ROOT"]+"/src/perturbation/perturbation.template.f"
|
|
file = open(filename,'r')
|
|
template = file.read()
|
|
file.close()
|
|
|
|
for p in perturbations:
|
|
print(template.replace("$PERT",p))
|
|
|
|
END_SHELL
|