easyvvuq.utils package¶
Submodules¶
easyvvuq.utils.helpers module¶
-
easyvvuq.utils.helpers.easyvvuq_deserialize(s)¶ Takes a serialized objected and reconstructs it.
Parameters: s (str) – A serialized Python object. Returns: A previously serialized Python object. Return type: obj
-
easyvvuq.utils.helpers.easyvvuq_serialize(obj)¶ Takes an object and returns a string with that object serialized.
Parameters: obj (obj) – An arbitrary Python object. Returns: A string representation of obj. Return type: str
-
easyvvuq.utils.helpers.multi_index_tuple_parser(lst)¶ Parses a list of strings to tuples if they represent tuples, otherwise leaves them as is.
Parameters: lst (list of strings) Returns: - a tuple consisting of a list of tuples and/or strings and a bool indicating if
- the lst contains any tuples
-
easyvvuq.utils.helpers.remove_start_of_file(filename, delimiter)¶ Overwrite a file leaving only the portion of it after the delimiter string.
Parameters: - filename (str) – the name (and path) of the file to processs
- delimiter (str) – the string after which the file is copied over