poppy.core.generic.paths.Paths(root)[source]¶Bases: object
Class to manage paths from a given root directory. It expects to have a root directory, with a config directory containing configuration files, a data directory containing some data resources and a scripts directory containing scripts to be executed. This is the standard structure of the ROC pipeline.
from_config(*args)[source]¶Given a list of paths, do a concatenation of them with the configuration directory.
from_data(*args)[source]¶Given a list of paths, do a concatenation of them with the data directory.
from_json_schemas(*args)[source]¶Given a list of paths, do a concatenation of them with the json schemas directory.
from_root(*args)[source]¶Given a list of paths, do a concatenation of them with the root directory.
from_scripts(*args)[source]¶Given a list of paths, do a concatenation of them with the scripts directory.
from_templates(*args)[source]¶Given a list of paths, do a concatenation of them with the templates directory.
root¶