# data_dir¶

Class attribute.

SamplingPlanner.data_dir

Set the save directory for the samplingplan. If the directory does not exist yet, it is created. If the directory is nested all (non-existing) parent folders are also created.

Example:

sp = do_mpc.sampling.SamplingPlanner()
sp.data_dir = './samples/experiment_1/'


This will set the directory to the indicated path. If the path does not exist, all folders are created.