pylbo.exceptions
Exceptions
Exception superclass to handle Legolas exceptions. |
|
Handles trying to load invalid Legolas files. |
|
Handles trying to query for the background when this is not present in the datfile. |
|
Handles trying to query for eigenfunctions when these |
|
Handles trying to query for matrices when these |
|
Handles trying to query for eigenvectors when |
|
Handles trying to query for residuals when |
|
Gets thrown when something went wrong during parfile generation. |
Module Contents
- exception pylbo.exceptions.LegolasException(message=None)
Bases:
Exception
Exception superclass to handle Legolas exceptions.
- Parameters:
message (str) – The message to pass as error message.
- exception pylbo.exceptions.InvalidLegolasFile(file)
Bases:
LegolasException
Handles trying to load invalid Legolas files.
- file
- exception pylbo.exceptions.BackgroundNotPresent(file, unable_to_get=None)
Bases:
LegolasException
Handles trying to query for the background when this is not present in the datfile.
- Parameters:
- file
- unable_to_do = None
- exception pylbo.exceptions.EigenfunctionsNotPresent(msg)
Bases:
LegolasException
Handles trying to query for eigenfunctions when these are not present in the datfile.
- Parameters:
msg (str) – The error message to pass on.
- msg
- exception pylbo.exceptions.MatricesNotPresent(file)
Bases:
LegolasException
Handles trying to query for matrices when these are not present in the datfile.
- file
- exception pylbo.exceptions.EigenvectorsNotPresent(file)
Bases:
LegolasException
Handles trying to query for eigenvectors when these are not present in the datfile.
- file
- exception pylbo.exceptions.ResidualsNotPresent(file)
Bases:
LegolasException
Handles trying to query for residuals when these are not present in the datfile.
- file
- exception pylbo.exceptions.ParfileGenerationError(file, nb_runs=None, key=None)
Bases:
LegolasException
Gets thrown when something went wrong during parfile generation.
- file
- nb_runs = None
- key = None