Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relative paths in config files confusing #8

Open
natelust opened this issue Apr 6, 2015 · 0 comments
Open

relative paths in config files confusing #8

natelust opened this issue Apr 6, 2015 · 0 comments

Comments

@natelust
Copy link

natelust commented Apr 6, 2015

The relative paths in BART.cfg in the example and demo directory are misleading. I.E. func = hack BARTfunc ../../code/ specify a path relative to the directory in which the function which reads the config file resides rather than the directory which contains the config file (i think, the path may be broken all together). By this i mean within the BART/examples/ directory the BART.cfg file specifies the path ../../code/ for the location of the BARTfunc, however from this location in the directory structure the path to code would be ../code . Specifying the path in this manor may be necessary for running the program, but it is not obvious to someone reading the code to use or modify it. If possible use some variable to specify a base directory and do things relative to that variable, or put a code comment helping the reader understand where that function is contained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant