Path#
- class ctapipe.core.traits.Path(default_value=None, allow_none=True, exists=None, directory_ok=True, file_ok=True, **kwargs)[source]#
 Bases:
TraitTypeA path Trait for input/output files.
- Attributes:
 - exists: boolean or None
 If True, path must exist, if False path must not exist
- directory_ok: boolean
 If False, path must not be a directory
- file_ok: boolean
 If False, path must not be a file
Attributes Summary
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Methods Summary
validate(obj, value)Validate trait value.
Attributes Documentation
Methods Documentation