Path problem creating HDSM #336
-
When I try to run the step that creates the JSON HDSM in dv8_showcase I am getting another path problem. I am not sure what to do here.
Processed 9944 groups out of 9944. 100% done. Time elapsed: 7s. ETA: 0s. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Warning says the file specified on hdsmj_path does not exist. You can open the folder on your computer to check that this is indeed the case. I suspect the issue lies in the Again, I think running the notebook first with the default config would make it easier to understand how the code works, which was calculator.yml. The dv8-console dumps many intermediate files on every step that Kaiaulu needs to knit together, the functions are mostly syscalls to dv8-console. The Notebooks are intended to be run one code block at a time to familiarize with what is going in the pipeline or make more fine changes. Project-name is specified automatically in line 48: kaiaulu/vignettes/dv8_showcase.Rmd Line 48 in ac522b6 p.s.: Rather than pasting the code here, you can left click the line of code in the source code and select "copy permalink" so I know what portion you are referring to. GitHub will auto-embed as you see above. |
Beta Was this translation helpful? Give feedback.
-
project_name is defined in dv8_showcase on lines 47-49. It takes project_path as input. The project_path variable has the value ../../analysis/pdfbox/dv8/ which it gets from the config file (via the conf variable). But the subsequent lines of code do not work as expected: project_name <- stringi::stri_split_regex(project_path,pattern = "/")[[1]] This results in project_name being an empty string. This suggests that get_dv8_folder_path is not returning the correct path, or that the path is not set up correctly in my filesystem. Once again the intended folder structure is baffling to me. Was I supposed to create an "analysis" folder? Where is this documented? |
Beta Was this translation helpful? Give feedback.
Another guess: Does the folder path exists?
I.e. if you go to the analysis folder, is there a pdfbox folder and a dv8 folder within it to match
analysis/pdfbox/dv8
? I would still checkproject_name
, otherwise your files will be missing the project prefix. You can just assign any string to line 48 if it is easier.