From ebd66e65bf18574fa8905d7b0ae3fbb85bfc9e06 Mon Sep 17 00:00:00 2001 From: jvech Date: Tue, 6 Aug 2024 14:29:42 -0500 Subject: add: file parsing improved Things implemented: * json_read() must die if the key does not exist or the value type is wrong. * on predict command input should be shown exactly the same * float precision CLI option should be added. --- src/parse.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/parse.h') diff --git a/src/parse.h b/src/parse.h index d8aeada..18130c7 100644 --- a/src/parse.h +++ b/src/parse.h @@ -25,7 +25,8 @@ void file_write( char *in_keys[], size_t n_in_keys, char *out_keys[], size_t n_out_keys, bool write_input, - char *file_format); + char *file_format, + int decimal_precision); char * file_format_infer(char *filename); #endif -- cgit v1.2.3-70-g09d2