About ShapePipe
Installing ShapePipe
Running ShapePipe
Miscellaneous
API Documentation
Contributing to ShapePipe
References
SHARED.
The module defines functions that can be shared between pipeline modules.
Samuel Farrens <samuel.farrens@cea.fr>
Check Duplicate.
Check whether input list contains at least one duplicate.
input_list (list) – input list
Duplicate element, empty string if none found
str
Find Files.
This method recursively retrieves file names from a given path that match a given pattern and/or have a given extension.
path (str) – Full path to files
pattern (str, optional) – File pattern, default is ‘*’
ext (str, optional) – File extension, default is ‘*’
List of file names
list
ValueError – For ‘*’ in pattern
ValueError – For ‘*’ in extension
ValueError – For invalid extension format
Split Module Run.
Extract module name and run from input string.
module_str (str) – Module name or run string
Module name and module run string
tuple
TypeError – If input is not a string
previous
shapepipe.pipeline.run_log
next
shapepipe.pipeline.str_handler