aboutsummaryrefslogtreecommitdiff
path: root/src/parse.h
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2024-08-06 14:29:42 -0500
committerjvech <jmvalenciae@unal.edu.co>2024-08-06 14:29:42 -0500
commitebd66e65bf18574fa8905d7b0ae3fbb85bfc9e06 (patch)
treeda128cfa54b20abbff670c89278f0005b0f128cb /src/parse.h
parentce0001538820d819bf965a24ffbb6f6e6269859c (diff)
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.
Diffstat (limited to 'src/parse.h')
-rw-r--r--src/parse.h3
1 files changed, 2 insertions, 1 deletions
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
Feel free to download, copy and edit any repo