get_paths#

pyconverter.xml2py.directory_format.get_paths(path, graph_path=None, link_path=None, term_path=None, xml_path=None)#

Get the paths to the directories needed for the conversion.

Parameters:
pathstr

Path to the directory with the predefined format.

graph_pathstr, optional

Path to the directory containing the graphics. The default is None, in which case the XML predefined directory format is used.

link_pathstr, optional

Path to the directory containing the links. The default is None, in which case the XML predefined directory format is used.

term_pathstr, optional

Path to the directory containing the terms. The default is None, in which case the XML predefined directory format is used.

xml_pathstr

Path to the directory containing the XML files. The default is None, in which case the XML predefined directory format is used.

Returns:
graphic_pathstr

Path of the directory containing the graphics.

link_pathstr

Path of the directory containing the links.

term_pathstr

Path of the directory containing the terms.

xml_pathstr

Path of the directory containing the XML files.