Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cleanup
  • Loading branch information
prehner committed Feb 13, 2025
commit 218d92fb5208ca69438c815d9b8dffed16fa3fcf
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ codegen-units = 1


[features]
default = ["python"]
default = []
dft = ["feos-dft", "petgraph"]
estimator = []
association = []
Expand Down
2 changes: 1 addition & 1 deletion feos-core/src/parameter/identifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub enum IdentifierOption {
Formula,
}

// /// A collection of identifiers for a chemical structure or substance.
/// A collection of identifiers for a chemical structure or substance.
#[cfg_attr(feature = "python", pyo3::pyclass(get_all, set_all))]
#[derive(Serialize, Deserialize, Debug, Clone, Default)]
pub struct Identifier {
Expand Down
23 changes: 0 additions & 23 deletions feos-core/src/python/cubic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,6 @@ use pyo3::prelude::*;
use std::convert::{TryFrom, TryInto};
use std::sync::Arc;

// /// A pure substance parameter for the Peng-Robinson equation of state.
// #[pyclass(name = "PengRobinsonRecord")]
// #[derive(Clone)]
// pub struct PyPengRobinsonRecord(PengRobinsonRecord);

// #[pymethods]
// impl PyPengRobinsonRecord {
// #[new]
// fn new(tc: f64, pc: f64, acentric_factor: f64) -> Self {
// Self(PengRobinsonRecord::new(tc, pc, acentric_factor))
// }

// fn __repr__(&self) -> PyResult<String> {
// Ok(self.0.to_string())
// }
// }

// impl_json_handling!(PyPengRobinsonRecord);

// impl_pure_record!(PengRobinsonRecord, PyPengRobinsonRecord);

// impl_binary_record!();

#[pyclass(name = "PengRobinsonParameters")]
#[derive(Clone)]
pub struct PyPengRobinsonParameters(pub Arc<PengRobinsonParameters>);
Expand Down