Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
schmoelder committed Mar 2, 2024
1 parent f84f8da commit b899751
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CADETProcess/dynamicEvents/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ class EventHandler(CachedPropertiesMixin, Structure):
parameter_events : dict
A dictionary mapping each parameter to the list of events that affect it.
Notes
-----
The class relies heavily on the concept of "events", which are instances
Expand Down Expand Up @@ -157,6 +156,7 @@ def add_event(
--------
events
remove_event
add_event_dependency
Event
Event.add_dependency
add_duration
Expand Down
3 changes: 2 additions & 1 deletion CADETProcess/optimization/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ class OptimizerBase(Structure):
functions for each individual in a given population.
The default parallelization backend is 'Joblib', which provides parallel
execution using multiple cores.
n_cores
n_cores : int, optional
Proxy to the number of cores used by the parallelization backend.
"""

is_population_based = False
Expand Down
4 changes: 2 additions & 2 deletions CADETProcess/processModel/unitOperation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,8 +1037,8 @@ class Cstr(UnitBaseClass, SourceMixin, SinkMixin):
Initial concentration of the bound phase.
V : unsigned float
Initial volume of the reactor.
total_porosity : UnsignedFloat between 0 and 1.
Total porosity of the column.
porosity : UnsignedFloat between 0 and 1.
Total porosity of the Cstr.
flow_rate_filter: float
Flow rate of pure liquid without components to reduce volume.
solution_recorder : CSTRRecorder
Expand Down

0 comments on commit b899751

Please sign in to comment.