@@ -55,14 +55,14 @@ let default : t = {
5555let default_gui =
5656 {
5757 alg_var_overwrite_gui = ref [] ;
58- minValue_gui = ref None ;
59- maxValue_gui = ref None ;
60- plotPeriod_gui = ref None ;
61- rescale_gui = ref None ;
58+ minValue_gui = ref ( Some 0. ) ;
59+ maxValue_gui = ref ( Some 1. ) ;
60+ plotPeriod_gui = ref ( Some 0.01 ) ;
61+ rescale_gui = ref ( Some 1. ) ;
6262 marshalizedInFile_gui = ref " " ;
6363 inputKappaFileNames_gui = ref [] ;
6464 (* initialMix_gui = ref None;*)
65- outputDataFile_gui = ref None ;
65+ outputDataFile_gui = ref ( Some " data.csv " ) ;
6666 outputDirectory_gui = ref " ." ;
6767 batchmode_gui = ref " " ;
6868 newSyntax_gui = ref false ;
@@ -165,12 +165,12 @@ let options_gen (t :t) (t_gui :t_gui) : (string * Arg.spec * Superarg.spec * str
165165 (fun outputDataFile -> t.outputDataFile < - Some outputDataFile),
166166 Superarg. String_opt t_gui.outputDataFile_gui,
167167 " file name for data output" ,
168- [" 0_model" ; " 3_integration_settings" ], Superarg. Normal ) ;
168+ [" 0_model" ; " 3_integration_settings" ], Superarg. Hidden ) ;
169169 (" -d" ,
170170 Arg. String (fun outputDirectory -> t.outputDirectory < - outputDirectory),
171171 Superarg. String t_gui.outputDirectory_gui,
172172 " Specifies directory name where output file(s) should be stored" ,
173- [" 0_model" ; " 3_integration_settings" ], Superarg. Normal ) ;
173+ [" 0_model" ; " 2_semantics " ; " 3_integration_settings" ], Superarg. Normal ) ;
174174 (" -load-sim" ,
175175 Arg. String (fun file -> t.marshalizedInFile < - file),
176176 Superarg. String t_gui.marshalizedInFile_gui,
@@ -202,6 +202,15 @@ let options t =
202202 (List. rev (options_gen t default_gui))
203203
204204let options_gui t_gui =
205- List. rev_map
205+ ( List. rev_map
206206 (fun (a ,_ ,b ,c ,d ,e ) -> a,b,c,d,e)
207- (List. rev (options_gen default t_gui))
207+ (List. rev (options_gen default t_gui)))
208+ @ [
209+ " --output-plot" ,
210+ Superarg. String_opt t_gui.outputDataFile_gui,
211+ " file name for data output" ,
212+ [" 1_output" ;" 2_semantics" ;" 3_integration_settings" ],Normal ;
213+ " --data-file" ,
214+ Superarg. String_opt t_gui.outputDataFile_gui,
215+ " file name for data output" ,
216+ [" 1_output" ;" 2_semantics" ;" 3_integration_settings" ],Hidden ;]
0 commit comments