Port ThermoML parsing, add data entry types#24
Conversation
|
It turns out the implementation in Evaluator requires each property to be fully set up in |
|
This test is failing (and probably the cause of other failures): Dropping into a debugger indicates it's deeper: This is the code most blatantly copied from Evaluator, a.k.a. I understand it the least Note that similar tests for other properties are passing |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #24 +/- ##
===========================================
- Coverage 89.66% 57.83% -31.84%
===========================================
Files 4 12 +8
Lines 271 1819 +1548
===========================================
+ Hits 243 1052 +809
- Misses 28 767 +739 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Decision: let RDKit (but not AmberTools) be a required dependency of dimsim. So no need to test with/without RDKit Need to:
Nice to haves:
|
dimsim/datasets/thermoml/thermoml.py
Outdated
| entry = DataEntry( | ||
| tag=_TYPE_TAG_MAPPING[measured_property.type_string], |
There was a problem hiding this comment.
Would be better to switch into different class constructors here, based on the value of measured_property.type_string
For now, keep the tag attribute - even though it's redundant now, it might be useful later on (and it can be dropped later if it is not)
for more information, see https://pre-commit.ci
Closes #2
Closes #25
Closes #26
ThermodynamicState, just attributes for temperature and pressureNonein place ofUNDEFINEDAttribute/AttributeClassSubstanceclasses? #40) but not necessarily refactor it