Support Density #5

Open
opened 2026-04-12 16:30:46 -04:00 by aalexmmaldonado · 0 comments
aalexmmaldonado commented 2026-04-12 16:30:46 -04:00 (Migrated from github.com)

Density is one of the simpler PubChem annotations: a number, a unit (g/cm³, g/mL, kg/m³), and sometimes a temperature.

Scope

Add DENSITY = "Density" to Annotation. Create pcdigitizer/data/density.py with a DensityData processor. Output schema: cid, sid, pclid, density_value (Float64), unit (String), temperature_C (Float64, nullable), comment (String, nullable). Register, export, and test.

Definition of done

Working fetch-and-parse pipeline. Tests pass. Docstrings present.

Density is one of the simpler PubChem annotations: a number, a unit (g/cm³, g/mL, kg/m³), and sometimes a temperature. ### Scope Add `DENSITY = "Density"` to `Annotation`. Create `pcdigitizer/data/density.py` with a `DensityData` processor. Output schema: `cid`, `sid`, `pclid`, `density_value` (Float64), `unit` (String), `temperature_C` (Float64, nullable), `comment` (String, nullable). Register, export, and test. ### Definition of done Working fetch-and-parse pipeline. Tests pass. Docstrings present.
Sign in to join this conversation.