finesse.utilities.misc
¶
Miscellaneous utility functions for any part of Finesse.
Functions
|
Decorator used for keeping track of whether the current state is inside the decorated function or not. |
|
Checks the validity of a component or node name. |
Prints table for a particular element class. |
|
|
Finds value in the list x and returns its index, returning None if value is not in the list. |
|
|
Available NetworkX and graphviz (if installed) graph plotting layouts. |
|
Available graphviz graph plotting layouts. |
|
|
Reliable check for whether an object is iterable. |
Available NetworkX graph plotting layouts. |
|
|
Get an open file regardless of whether a string or an already open file is passed. |
|
Iterates through each pair in a iterable. |
|
Applies a nested getattr with reduce to select an attribute of a nested object within obj. |
|
Validate the specified name. |