Creating ASE database via running post processing notbook #49
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SQLite database for adsorbates, transition state and rate coefficients can be created via post processing notebook.
Adsorbates and slab geometries, energies, frequencies, DFT parameters will be added to adsorbate.db.
Transition state geometries, energies, frequencies, DFT parameters will be saved in TS_geometry.db
Rate coefficients calculated via post processing will be saved in rate_coeff.db.
The database are created and edited only when the user uses post processing notebook, giving users options of creating databases for geometries of their own interest. (Pick and chose to save)
pynta postprocessing.ipynb:
A section for DFT functional, Pseudopotentials, lattice parameters added
write_adsorbate_db(), write_ts_db(), write_slab_db(), write_rate_db() added
postprocessing.py:
write_adsorbate_db() : create and write adsorbate.db for unique adsorbates (ones that calculates frequencies)
write_slab_db(): update slab info to adsorbate database
write_ts_db() : create and write ts_geometry.db for unique transition states geometries
parse_all_surface_arrhenius(): iterate by indices {key} and parse surface arrhenius information for unique TS
parse_surface_arrhenius(): parse SurfaceArrhenius from molecule. Define the SurfaceArrhenius named tuple for the example and extract dA, dn, dEa from the comment from the output.
write_rate_db(): create rate_coeff.db. Save prefector, n, Ea, dA, dn, dEa in a string form from rate_data