poissonconsulting / fish-passage-22

0 stars 1 forks source link

`source("read-flow-diagrams.R")` and `source("read-dags.R")` is looking for directories that don't exist #10

Closed NewGraphEnvironment closed 7 months ago

NewGraphEnvironment commented 7 months ago

> source("read-flow-diagrams.R")
Warning messages:
1: In file.copy(from = file.path(dir, "energy.png"), to = root_folder,  :
  problem copying /Users/airvine/Poisson/Data/fish-passage/2022/Flow Diagrams/energy.png to /Users/airvine/Projects/repo/fish-passage-22/energy.png: No such file or directory
2: In file.copy(from = file.path(dir, "discharge_1.png"), to = root_folder,  :
  problem copying /Users/airvine/Poisson/Data/fish-passage/2022/Flow Diagrams/discharge_1.png to /Users/airvine/Projects/repo/fish-passage-22/discharge_1.png: No such file or directory
3: In file.copy(from = file.path(dir, "discharge_2.png"), to = root_folder,  :
  problem copying /Users/airvine/Poisson/Data/fish-passage/2022/Flow Diagrams/discharge_2.png to /Users/airvine/Projects/repo/fish-passage-22/discharge_2.png: No such file or directory
4: In file.copy(from = file.path(dir, "discharge_3.png"), to = root_folder,  :
  problem copying /Users/airvine/Poisson/Data/fish-passage/2022/Flow Diagrams/discharge_3.png to /Users/airvine/Projects/repo/fish-passage-22/discharge_3.png: No such file or directory```
NewGraphEnvironment commented 7 months ago

Seems as though this is just to grab the drawings so will close for now as it is not really holding us up. Will work in branch and hash out this call for interim solution

nehill197 commented 7 months ago

I've just added the DAGs and Flow Diagrams folders to your shared dropbox. You'll need to change the dir object in the header.R script to the file path of the fish-passage-22 folder in your dropbox, and then things should run smoothly.