Repository navigation
Releases
CADMIA 0.3.1
Added
prescreen --freezeholds the cluster rigid in xTB (an$constrainon its atoms, given
by--cluster) so only the probe relaxes. Relaxing everything stays the default: on the Al₂TiO₅ + CO₂
example the frozen screen ranked the configurations alike (Spearman 0.83) but sent none of
the Al sites to DFT, which bind only by moving the cluster. The DFT stage is never constrained.- DOI. CADMIA is archived on Zenodo (concept DOI 10.5281/zenodo.23608477); the citation
notice,CITATION.cffand the README cite it. - Module results in the project. Inside a
cadmia initproject,structure report,cdft,
analyzeandstabilitysave their result toresults/by themselves
(results/cdft.json,results/stability.json,results/structure/<id>.json,
results/analysis/<adduct>.json). Each file holds the data and the module's full text
report, so the two cannot disagree; the output frames them asMODULE n · NAME. - Counterpoise BSSE for ORCA.
cadmia prepare bsse ADDUCT.out --cluster C.out --probe-free P.out
writes the four single points of the Boys–Bernardi correction (each fragment at the adduct
geometry, in its own and in the full basis, with ORCA ghost atoms);analyze --bssereads
their outputs and reports E_ads(BSSE). - Static figures.
electronic dos|pdos|ir --format png|svg|pdfand
structure plot --kind bonds|distances|ecn-trend|ecn-heatmap -o NAME.png|.svg|.pdfwrite
publication-ready figures with matplotlib (in[full]): 300-dpi PNG or vector SVG/PDF, one
style for all of them; the DOS ones mark the frontier orbitals and open on the valence window.
The distance matrix shows one half with the value in each cell and outlines the pairs within
the bond cut-offs, so it no longer reads like the ECN heatmap.
The interactive HTML stays for exploring. analyze --bend-threshold DEG(default 10°): the bending of a linear probe that counts
as activation.- Figure width and format.
--width single|double(3.4 in / 6.5 in, single by default)
for the static figures ofelectronic dos|pdos|irandstructure plot. Both commands take
the format from--format, else from the-osuffix, else the default;structure plot --format png|svg|pdfwrites static figures in a batch too. - Full text reports for adsorption and stability, in the layout of the CDFT report: every
field of the result, from the energetics to the cluster reorganization and the per-term checks.
Fixed
-
No stray files or full paths from a project. Inside a project,
structure reportwithout
-owrote a second copy of its report beside the input file, outside the project; it now
writes only its module result. The adsorption report printed the adduct path in full even in
relativemode. -
Spin and charge through the adsorption workflow.
geometrywritescharge=andmult=
in each configuration's comment line, with the probe's ground state (O2 is a triplet) coupled
high-spin to the cluster's;prescreen(whose--multis nowauto),rankandprepare
carry them on, so a triplet adduct no longer turns into a singlet by electron-count parity.
A spin read for a different charge than--chargeis not used, and says so.analyzewarns
when the adduct's charge is not the cluster's plus the probe's, when its multiplicity cannot
come from coupling theirs, and when the free probe is not in its ground spin state. -
Free energies of adsorption.
analyzeno longer reports ΔH and ΔG when it refuses E_ads
because a geometry did not converge. ΔG uses G corrected to the symmetry number of each
geometry, asstabilitydoes, and ΔG with Grimme's quasi-RRHO entropy is added
(delta_gq_ads_kcal). -
pipeline --resumekeeps the level of theory. The manifest saves the calculation
parameters; a resume without level options uses them. A different level is accepted while no
calculation has run (the inputs are written again) and refused once outputs exist. -
Dictionary. The BSSE entry explains the counterpoise correction with its equations, and
the free-energy entry the σ correction and the quasi-RRHO ΔG. -
Gaussian counterpoise jobs are recognized without
--bsse: their E_ads is already
corrected and is no longer labelled "no BSSE". -
Activation by bending. A probe that is linear when free (CO2) counts as activated when it
bends by 10° or more in the adduct, not only when a bond stretches by 5 %; the probe's angles
are reported (probe_angles,max_bend_deg). -
Colliding names.
stability-seriesgives terms with the same label (opt.outin two
folders) distinct ones instead of merging their rows, andprescreengives configs with the
same name distinct scratch folders and outputs instead of overwriting one with the other. -
Exit codes and partial runs.
rankfails when none of its outputs could be ranked; a
pipelinestopped by--untilsays what is still to run instead of "complete";analyze
on several adducts keeps going past one that cannot be read and lists it. -
Windows timeout. A job that hits its time limit is ended with its whole process tree on
Windows too (taskkill /T), where process groups do not exist. CI runs the suite on macOS and
Windows as an experimental job; they are not declared supported until it passes. -
structure report -owith a relative path writes to the current folder, like every other
command, not to the folder of the analyzed file. -
Results that cannot be mixed. A result in
results/is never overwritten by one
computed from other files (a second CDFT, an adduct with the same name in another folder):
it goes to the next free copy,cdft-2.json,site5-2.json…, and the same inputs run again
update their own file. That name is the result's persistent id (config_id), whichreport
uses to collapse duplicate minima acrossanalyzeruns.cadmia reportstops whenresults/holds CDFT,
adsorption or stability results of different clusters (by formula) and names them. Paths are
saved absolute, so the level of theory is found from any folder. -
A new
pipelineon a used folder is refused when it already holds calculations (continue
it with--resume);--nprocsand memory no longer count as a change of level on resume,
and a manifest from 0.3.0 keeps no default level it never ran. -
Spin, the remaining paths. An XYZ with only
charge=no longer counts as carrying the
spin;prescreenuses the file's multiplicity only for the same charge;prepare cdftand
benchmarktake the multiplicity the geometry carries (the ions at m − 1);pipelinegains
--chargeand shows the calculation stage's warnings. -
Each output checked with its own engine.
analyzeandstabilityread the convergence
and termination markers of every output with the engine that wrote it. -
rankno longer records unreadable outputs as kept;cdftsaves the reason when the
full report cannot be built; JSON outputs write NaN as null;report -o DIR/NAMEcreates the
folder;--simpleandstructure --reportwith a subcommand say they do not apply. -
Figures.
structure plotin a batch with an-othat names a file is an error instead
of a folder calledfigs.png;--sigma≤ 0 is refused and
the grid padding grows with σ; the static figures no longer change matplotlib's backend or
settings in a Jupyter session; the IR sticks have their own right axis in km/mol.
Changed
- 80-column text reports. The structural and CDFT reports and
cadmia.outwrap their prose at
80 columns, as Gaussian and ORCA do; tables keep their layout and stay within 100. The
directed-pair statistics are now a table with one column per value (the ECN plots read both
layouts), and the polyhedra table is narrower. - DOS units. DOS and PDOS are in states/eV over both spins: in a closed shell each spatial
orbital now counts 2, as α and β already did in an open shell. Every DOS/PDOS output changes
accordingly. Multiwfn weighs each spatial orbital 1, so its closed-shell amplitudes are half
of CADMIA's; level positions and curve shapes agree. The view stops where the curve ends, and the DOS/PDOS HTML pages are much smaller (the empty stretches between core levels
are left out) and.dat/.jsonuse shorter number formats. - Paths in text reports. The structural report, the CDFT report and
cadmia.outprint paths
relative to the project (or the file name), so a shared report does not carry the user's
folders;cadmia paths absoluteprints them in full, with a warning (cadmia paths relative
goes back; the mode is kept in~/.cadmia/config.yaml).
JSON results and the database keep the absolute path and the hash either way. - No more alpha label. CADMIA follows Semantic Versioning without development stages: before
1.0.0 a minor version may change commands or output formats (each change is listed here), and
1.0.0 will mark a stable public interface. The README and the guides install from PyPI. structure plotis 2D only. The 3D kindsmoleculeandecnare removed (3D views of a
structure belong to a molecular viewer); the default kind isbonds, and the interactive HTML
loads plotly from its CDN, as theelectronicpages do (kilobytes instead of ~5 MB).- Fixed module numbers in the output: 1 Structure, 2 CDFT, 3 Adsorption, 4 Stability,
whatever else the report holds. cadmia reportselects what goes in. With no options inside a project it takes the
original results and lists the copies it left out; each module option takes one or more files
(--cdft results/cdft.json results/cdft-2.json, or a shell glob) orallfor every result of
that module, and then only the modules given are reported.cadmia initcreatesconfigs/,results/andreports/(no more unusedscf/and
adsorption/); inside a project `geomet...
CADMIA 0.3.0
First public release.
Added
-
Quick-start notebook.
examples/quickstart.ipynbruns in Google Colab, with nothing to
install: output checks, CDFT against Multiwfn, structure, adsorption geometries, GFN2-xTB
pre-screening, adsorption thermochemistry, stability and the final report. -
Citation notice.
cadmia reportand a completedcadmia pipelineend with a short
notice on how to cite CADMIA. -
Isomers in
stability-series. Clusters with the same size are kept as isomers instead of
being dropped; each reports its point group, chirality and energy against the lowest E₀ and G minima. -
Boltzmann populations.
--popadds populations on both bases (E₀ and G), with G corrected
for symmetry. -
Equal-size mixing energy. Reference coefficients are exact fractions (
1/2or0.5);--ref
accepts pure oxides of any size and reports the value per formula unit. -
Symmetry from geometry. Point group, symmetry number σ and chirality are detected from the
structure;stabilitycorrects G and Gq when the program used a different σ, and says so. -
Per-term checks.
stabilityandstability-seriesreport multiplicities and imaginary
frequencies, and warn about missing frequencies, mismatched temperatures and mixed entropy schemes. -
--energy Gq. Free energy with Grimme's quasi-RRHO entropy, for Gaussian and ORCA outputs. -
Open-shell CDFT. Koopmans descriptors (η, S, μ, χ, ω) and the Koopmans-vs-SCF gap row are
labelled as cross-spin quantities.
Changed
-
Supported engines: ORCA 6 and Gaussian 16. The optional cclib backup reader for other
engines (0.3.0a4) was removed. -
--coeffwith a number of values different from the number of references is now an error,
instead of printing meaningless energies.
Fixed
-
DOS and PDOS sampling. The energy grid spanned the core orbitals with a fixed 2000 points,
a step of several eV for a Ti-containing system, so the valence peaks were aliased. The step is
now at most σ/4 over the whole range (--pointsis a minimum), and the HTML plot opens on
HOMO − 20 eV to LUMO + 10 eV instead of the full core-to-virtual range. -
MEP on isosurfaces.
electronic mep --densitymeasures on the isosurface itself, not on a
voxel shell that reached toward the nuclei; it fails clearly when the isovalue misses the grid. -
Frequency-only Gaussian jobs were flagged as "optimization not converged". Routes without
Optno longer trigger that check. -
Abnormal termination (Error termination or a missing end marker) is reported by
stability
andstability-series, instead of silently using the last energy printed. -
pipelineengine. Without--engine, the calculation stage now uses the engine that wrote
the N output instead of always ORCA. A stage whose outputs all fail validation is reported as
failed, and settings the engine cannot take (D4 in Gaussian) stop the stage with the reason. -
Metals from
--confignow reach the neighbourhood, ring, polyhedra and angle sections of
structure, which had reloaded the default list. -
CDFT input checks.
cdftstops when the N+1 and N−1 files are swapped (their total charges
are checked against N), and its warnings (unbound anion, spin contamination) are kept in the
JSON and the database record. -
validateon Gaussian reads ⟨S²⟩ before annihilation, as the CDFT report does; the value
after it hid the contamination. -
rank→prepare. Inputs prepared from a ranked.xyzkeep the name of the output each
geometry came from, also with skeleton classes or a single geometry. -
Single-geometry
.xyzwith extra lines (a trajectory, a wrong atom count) is an error instead
of silently giving the first block. -
structureon a directory no longer reads its own earlier report from it, and Li, Na, K,
Mg, Ga, In, Sn, La and Ce are in the default metal list. -
Recorded commands name the program (
cadmia …) instead of its install path, which put the
user's home directory into reports and database rows. -
cadmia reportreads the level of theory from the outputs behind the CDFT and adsorption
results (the keyword line the engine echoed) when--functional/--basisare not given.
--structureadds the structural report (cadmia structure report -o structure.json); each
stage opens with a framed, numbered title; the citation follows the title banner, and the
footer lists the stages reported, the warning count and the software, Python and OS versions. -
cadmia initno longer writes a level of theory or probe intocadmia_project.yaml: no
command read them, and they looked like defaults. -
cadmia cdftwithout-ono longer prints the JSON after the table; with--no-table
the JSON still goes to stdout, for piping.