.set_csv_directory(+)
Default PLANit Output Formatter method
Description
The .set_csv_directory(+) method provides you with the option to overwrite the default output directory set by the PLANit output formatter for the CSV (DEFAULT_CSV_OUTPUT_DIRECTORY
) output files of a PLANit traffic assignment run.
Make sure that the provided output directory is a path where you have write access.
Signature
.set_csv_directory(path_to_dir)
with
Parameter | Type | Unit | Compulsory | Description |
---|---|---|---|---|
path_to_dir |
string |
None |
YES | Valid path with write access for user |
Return type
None
Example 1
from planit import *
#prep
plan_it = Planit()
# configure to persist output in same directory
plan_it.project.output.set_csv_directory("c:\users\public\planit\csv\")
#
# <more configuration>
#
plan_it.project.run()
See also
N/A
Source code
Class PlanItOutputFormatterWrapper
in projectwrappers.py