File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ sphinx_subfigure==0.2.4
77bayesian-optimization == 3.1.0
88scikit-optimize == 0.10.2
99numpy == 2.3.3
10- scipy == 1.16.1
10+ scipy == 1.16.2
1111joblib == 1.5.2
12- scikit-learn == 1.7.1
12+ scikit-learn == 1.7.2
1313matplotlib == 3.10.6
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ dependencies = [
1616 " matplotlib" ,
1717 " tqdm" ,
1818 " scipy" ,
19- " cr-mech-coli==0.6.0 " ,
19+ " cr-mech-coli==0.7.1 " ,
2020]
2121
2222[project .scripts ]
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ pub struct Options {
9999 pub time : Py < TimeParameters > ,
100100 /// Show or hide the progress bar during the simulation.
101101 #[ approx( skip) ]
102- pub show_progressbar : bool ,
102+ pub progressbar : bool ,
103103 /// Specify how many threads to use for the simulation.
104104 /// Must be a positive integer value.
105105 #[ approx( equal) ]
@@ -123,7 +123,7 @@ impl Options {
123123 bacteria : Py :: new ( py, <BacterialParameters as Default >:: default ( ) ) ?,
124124 domain : Py :: new ( py, <DomainParameters as Default >:: default ( ) ) ?,
125125 time : Py :: new ( py, <TimeParameters as Default >:: default ( ) ) ?,
126- show_progressbar : false ,
126+ progressbar : false ,
127127 n_threads : 1 . try_into ( ) . unwrap ( ) ,
128128 storage_location : Some ( "out" . into ( ) ) ,
129129 } ,
@@ -309,7 +309,11 @@ pub fn run_sim_branching(
309309 n_threads,
310310 time,
311311 storage,
312- show_progressbar : options. show_progressbar ,
312+ progressbar : if options. progressbar {
313+ Some ( "" . to_string ( ) )
314+ } else {
315+ None
316+ } ,
313317 } ;
314318
315319 let storager = run_simulation ! (
You can’t perform that action at this time.
0 commit comments