Module:
sdynpy.fileio.sdynpy_uffSource: GitHub
Signature¶
def sdynpy.fileio.sdynpy_uff.parse_uff_line(line, format_specs, read_number=None)Parses a line from a universal file format
Parameters¶
line : str A line from a unv file
format_specs : iterable The format specifiers for the line that determines how the string is transformed into data
read_number : int, optional The number of entries to read. Will repeat the format specifiers if necessary
Returns¶
output : list Data from this line of the unv file.
Raises¶
UFFReadError
Raised if an error occurs reading the file.