Comments (1)
This means that it didn't find the database file at the given path Resources/aq17new-format.json
- this is a relative path for where your python code is executed.
If you have .../myFolder/myPythonFile.py
then the database file should be .../myFolder/Resources/aq17new-format.json
.
You can find some demo database files in thermofun/Resources/databases/
copy them from there to the folder you want to use them.
See here: https://github.com/thermohub/thermofun/tree/master/Resources/databases
For example, you can copy the database file you want to use aq17-thermofun.json
to the folder of your python file .../myFolder/aq17-thermofun.json
, then in .../myFolder/myPythonFile.py
you can do:
import thermofun.PyThermoFun as PyThermoFun
engine = PyThermoFun.ThermoEngine("aq17-thermofun.json")
or
import thermofun as fun
engine = fun.ThermoEngine("aq17-thermofun.json")
from thermofun.
Related Issues (18)
- Using autodiff::real instead of ThermoScalar
- The link in README https://thermohub.org/thermofun/thermofun/ is a dead link HOT 3
- TFUN_BUILD_TESTS is commented out? HOT 1
- Fails to install into a stage dir HOT 1
- Please add to README how to run Python tests HOT 2
- 2 tests fail on FreeBSD HOT 3
- Successful ChemicalFun build ARM64 Android Termux HOT 5
- [JOSS] Install from source fails HOT 13
- Missing find_package for json dependency
- [JOSS] Rename COPYING.LESSER to LICENSE HOT 2
- [JOSS] Tests failing HOT 2
- Memory leak in `thermoPropertiesGasCORK`
- [JOSS] Doc strings for python api HOT 1
- [JOSS] - contributing guidelines
- [JOSS] - Python snippet in README
- [JOSS] - state of the field HOT 1
- [JOSS] Paper - grammatical errors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thermofun.