Skip to content

Commit

Permalink
add missing Python classes in feos.ideal_gas
Browse files Browse the repository at this point in the history
  • Loading branch information
prehner committed Nov 28, 2023
1 parent d0a8c82 commit 612f97f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/python/ideal_gas.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
use feos_core::python::joback::{PyJobackParameters, PyJobackRecord};
use feos_core::parameter::IdentifierOption;
use feos_core::python::joback::*;
use feos_core::python::parameter::PyIdentifier;
use pyo3::prelude::*;

#[pymodule]
pub fn ideal_gas(_py: Python<'_>, m: &PyModule) -> PyResult<()> {
m.add_class::<PyIdentifier>()?;
m.add_class::<IdentifierOption>()?;
m.add_class::<PyJobackRecord>()?;
m.add_class::<PyPureRecord>()?;
m.add_class::<PySegmentRecord>()?;
m.add_class::<PyJobackParameters>()
}

0 comments on commit 612f97f

Please sign in to comment.