Open mohitbadwal opened 7 years ago
I put that file into https://jsonlint.com/, and it said it was valid json. I'm not sure why pyhocon is complaining when parsing it. When I copy that file and run evaluate_model("some.json")
on my linux machine, it also parses (it then crashes because it doesn't have write permission on /models, but that's a different issue).
My best guess is that pyhocon behaves differently with respect to line endings or something on windows, so it isn't parsing the file correctly. Also, I'm pretty sure there are plenty of parts of this code that will break when running on windows. See #335.
I am trying to evaluate a model using evaluate_model()
evaluate_model("some.json")
but it gives a ParseException.some.json-
This is the stacktrace-
Where am I going wrong ?