Skip to content

Fix solvent mappings#125

Merged
lmseidler merged 9 commits intomainfrom
fix/124
Mar 6, 2026
Merged

Fix solvent mappings#125
lmseidler merged 9 commits intomainfrom
fix/124

Conversation

@lmseidler
Copy link
Copy Markdown
Member

@lmseidler lmseidler commented Feb 4, 2026

Fixed some solvent mappings + completed mappings for cosmors/cpcm/smd

adressing #124 and similar

@lmseidler lmseidler added this to the v3.0.6 milestone Mar 5, 2026
* updated readme for new api

* some changes

* fix dask stuff
Copilot AI review requested due to automatic review settings March 5, 2026 11:20
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes and extends solvent mappings in solvents.json, addressing issue #124 (DCM missing from SMD list in NMR mode) and similar gaps. It also updates the README.md to reflect current Python API usage patterns.

Changes:

  • Expanded solvent mappings in solvents.json to include CPCM, COSMO-RS, and SMD entries for many solvents that previously only had partial mappings, and added _c0 variant entries for COSMO-RS compatibility.
  • Reorganized solvent entries alphabetically and added new alias entries (e.g., "dcm", "dichloromethane", space-separated variants like "acetic acid").
  • Updated README.md to reflect the current Python API (correct import paths, EnsembleData() constructor, PartsConfig.model_validate with context, and documentation improvements).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 9 comments.

File Description
src/censo/assets/solvents.json Expanded and corrected solvent-to-model mappings; added CPCM/COSMO-RS/SMD entries, _c0 aliases, and space-separated name variants; reorganized alphabetically
README.md Updated Python API example to match current codebase (import paths, constructor usage, validation context), clarified documentation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/censo/assets/solvents.json Outdated
Comment thread src/censo/assets/solvents.json Outdated
Comment thread src/censo/assets/solvents.json Outdated
Comment thread src/censo/assets/solvents.json
Comment thread src/censo/assets/solvents.json Outdated
Comment thread src/censo/assets/solvents.json Outdated
Comment thread src/censo/assets/solvents.json Outdated
Comment thread src/censo/assets/solvents.json Outdated
Comment thread src/censo/assets/solvents.json Outdated
@lmseidler lmseidler merged commit 7ce7106 into main Mar 6, 2026
6 checks passed
@lmseidler lmseidler deleted the fix/124 branch March 6, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants