Repository navigation
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 projectgeometrywrites toconfigs/<PROBE>/andprescreento
prescreened/next to the configs it read.cadmia reportwrites the CADMIA output. With no stage options inside a project it reads
results/and writesreports/cadmia.out: a fixed-width text file with the header, every
stage's full report under its own frame, the correlations across stages and the closing block.
-o NAME.mdstill writes the Markdown summary.- One CDFT JSON.
cdft.jsonnow also carries the full report's data (atoms,global_fd,
global_koopmans,states), which--report-format jsonwrote to a separate file, and its
text.cadmia cdft --report FILEalone, inside a project, writes the report from
results/cdft.jsonwithout recomputing. The same holds foranalyzeandstability
(--report/-r FILE, with inputs or alone) and forstructure --report FILE.
Removed
- 3D views move out of CADMIA.
structure render(POV-Ray),electronic cube(HTML cube
viewer),electronic vmd(VMD/Tachyon script) andstructure plot --kind molecule|ecnare
removed: CADMIA's figures are 2D, and densities, orbitals and cubes open in a wavefunction
viewer.scikit-imageleaves the[full]extra. cadmia view(the 3Dmol.js page) is removed. For a quick look at a set of structures the
guide recommends MOLE, a separate lightweight viewer (pip install mole-viewer, then
mole file.xyz).