The AseCppawManualConverter modul reads the cp-paw manual.tex located in src/Docs in the cp-paw repository
import sys
acPath = '/home/pmk/ase-cp-paw' # path to ase-cp-paw
sys.path.append(acPath)
import AseCppawManualConverter
manPath = '/home/pmk/cp-paw/src/Docs/' # path to cp-paw manual
dbPath = acPath + '/data/db/' # path of database, default is data/db
The manual is converted by the readManual function to a python dict object that is saved by default in the ase-cp-paw/data/db in the JSON format.
AseCppawManualConverter.readManual(manPath, dbPath)
The manual objects can be inspected in the AseCppawInputFiles module. The different input file types are named as keys according to the section in the manual.
import AseCppawInputFiles
inputFileDb = AseCppawInputFiles.inputFileDB
print(inputFileDb.keys())
The branches are stored in a dict with the same hierarchical structure as in the manual.