Closed nickvandewiele closed 1 year ago
This issue is being automatically marked as stale because it has not received any interaction in the last 90 days. Please leave a comment if this is still a relevant issue, otherwise it will automatically be closed in 30 days.
In https://github.com/GreenGroup/RMG-Py/commit/3e508dc3a95e2bc40e8a7f379e6b5a26ca1afaf3#commitcomment-10854047
there is a consensus that checking for the solvent setting should be done differently.
Where is rmgpy.rmg.main.solvent used?
Only twice in
rmgpy.data.thermo.ThermoDatabase
.What does this rmgpy.rmg.main.solvent embody?
It is a string that shows that this is an RMG simulation in the liquid phase, and it contains the name of the solvent. rmgpy.rmg.main.solvent is only used as follows:
The value of the string is never used in ThermoDatabase.
Why is rmgpy.rmg.main.solvent used ThermoDatabase?
It is used in the method that retrieves thermoData for a parameter species from a thermo library:
We want to avoid finding the thermo of a gas phase species, when in fact you are interested in the thermo of a species in the liquid phase. Therefore, we need to retain only those libraries that have liquid thermo stored.
What is annoying about the current design?
Where should we put rmgpy.rmg.main.solvent instead?
ThermoDatabase
exists at runtime?rmgpy.data.solvation
?