youngser / D3M2

0 stars 0 forks source link

Consistent paths #2

Closed disa-mhembere closed 7 years ago

disa-mhembere commented 7 years ago

Thoughts?

youngser commented 7 years ago

The latter is the path inside the docker. Because all the primitives live in "./SRC" and the data in "./DATA", and we call the primitives via "Rscript my.R" and/or "python my.py", let's use the output "../DATA/out.txt" !?

disa-mhembere commented 7 years ago

Yes I agree! Well as long as we guarantee ../DATA always exists of course :)

youngser commented 7 years ago

Yep, I thought about it. Maybe I add dir.create("../DATA") first...

disa-mhembere commented 7 years ago

yes, this should work as long as the user has permission to write this directory which I guess is ok to assume