chemicalchecker.util.filesystem.filesystem.FileSystem

class FileSystem[source]

Bases: object

FileSystem class

Methods

check_dir_existance_create

Args: dir_path(str): root path additional_path(list) : list of strings including additional path parts to append to the root path

check_file_existance_create

This method create an empty file if it doesn't exist already

check_dir_existance_create(additional_path=None)[source]

Args: dir_path(str): root path additional_path(list) : list of strings including additional

path parts to append to the root path

check_file_existance_create()[source]

This method create an empty file if it doesn’t exist already