Replies: 3 comments
-
Try to use \ in absolute file path and no double quote. |
Beta Was this translation helpful? Give feedback.
-
@lhs-open Thanks, it seems that prior this PR it wasn't possible to do what I was suggesting. Fortunately, it has since been fixed so you can use a relative or absolute file path with the jar download! |
Beta Was this translation helpful? Give feedback.
-
Great to know the PR fixed it |
Beta Was this translation helpful? Give feedback.
-
Hello!
I am trying to use the downloaded synthea jar file (v3.1.1) on Windows 11 Pro with Java version "11.0.16.1" and modifying the following demographic files:
demographics.default_file
geography.zipcodes.default_file
geography.timezones.default_file
geography.sdoh.default_file
When I try passing in params like:
java -jar synthea-with-dependencies.jar -p 10 --generate.demographics.default_file="C:\test\modified_demographics.csv"
I get the following errors:
I have tried adding the modified demographics files to the same folder as the jar file, switch the direction of the slashes, with and without quotes around the file path, etc. The wiki for common configurations doesn't include non-boolean examples and the examples for other geographic areas assume you have cloned the repo rather than use the jar file.
I am able to generate the correct files when I clone the full repo and modify the
synthea.properties
file.Has anyone able to use modified demographic files with the jar download successfully?
Beta Was this translation helpful? Give feedback.
All reactions