File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed
Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -492,34 +492,3 @@ let cmd directory output_csv =
492492 match Rresult.R. join res with
493493 | Error (`Msg m ) -> Fmt. failwith " %s" m
494494 | Ok () -> Fmt. pr " Done writing to %a\n %!" Fpath. pp output_csv
495-
496- (* let cmd directory output_csv =
497- let directory = Fpath.to_string directory in
498- let output_csv = Fpath.to_string output_csv in
499- let entries = read_marshalled_file directory in
500- let oc = open_out output_csv in
501-
502- (* en-tête CSV *)
503- output_string oc (String.concat "," final_names ^ "\n");
504-
505- List.iter
506- (fun (solver_name, exprs, model, t) ->
507- if not (List.is_empty exprs) then
508- let feats = extract_feats_wtime exprs t in
509- let row =
510- List.map
511- (fun name ->
512- if String.equal name "solver" then solver_name
513- else if String.equal name "model" then Bool.to_string model
514- else
515- let count = StringMap.find_def0 name feats in
516- string_of_int count )
517- final_names
518- in
519- let row = String.concat "," row ^ "\n" in
520- (* Fmt.epr "pp row: %s@." row; *)
521- output_string oc row )
522- entries;
523-
524- close_out oc;
525- Fmt.pr "Done writing to %s\n%!" output_csv *)
You can’t perform that action at this time.
0 commit comments