[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.12 Paths

Global variable: string angora_basepath (default: ".")

This variable specifies the base directory for all the input-output operations in Angora. If there is no slash ‘/’ in front of the path, it is interpreted as a relative path starting from the working directory (i.e, the one from which Angora is launched.)

Any other input or output directory will be assumed relative to angora_basepath. An overarching exception is when a directory is specified with a slash ‘/’ up front; in which case that directory will be taken as an absolute path, and not relative to angora_basepath.

Global variable: string output_dir (default: "output")

This is the base directory for all the output that will result from Angora. It is interpreted as being relative to angora_basepath, unless it is preceded by a slash ‘/’. All other output directories are created as subdirectories of this directory.

Example:

 
angora_basepath = "angora_stuff";
output_dir = "data";

With these variable assignments, all the output will be written into subdirectories within ‘./angora_stuff/data/’.

Global variable: string input_dir

This is the base directory for all the input that will be read by Angora. It is interpreted as being relative to angora_basepath, unless it is preceded by a slash ‘/’. Unless the path to an input file is absolute (i.e., preceded by a slash ‘/’), it is interpreted as being relative to input_dir.

Example:

 
angora_basepath = "angora_stuff";
input_dir = "input_data";

With these variable assignments, the input base directory becomes ‘./angora_stuff/input_data/’.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated by Ilker Rafet Capoglu on December 12, 2012 using texi2html 1.82.