solidipes.loaders.file_sequence module
- class solidipes.loaders.file_sequence.FileSequence(*args, **kwargs)[source]
Bases:
Sequence,ROCrateMetadata,GroupSequence of files.
- _abc_impl = <_abc._abc_data object>
- _compatible_viewers: list[Type[Viewer]] = []
List of compatible Viewer classes. Doesn’t need to include Viewer classes already listed in parent classes.
- property _element_unique_identifiers
- static _find_groups(is_dir_path_dict: dict[str, bool]) dict[str, list[str]][source]
Find groups of file and directory names.
From a list of file and directory names (on a single level), return a dictionary with - key: pattern, - value: list of file and directory names that belong to the group.
- _load_element(n)[source]
Must raise KeyError if element does not exist.
Override this method in subclasses.
- property modified_time
- property ontology_class
Decorator for loadables that are saved as RO-Crate metadata.
- property paths