diff --git a/post_processing/pylbo/data_containers.py b/post_processing/pylbo/data_containers.py index a7341018..394c5812 100644 --- a/post_processing/pylbo/data_containers.py +++ b/post_processing/pylbo/data_containers.py @@ -151,8 +151,6 @@ class LegolasDataSet(LegolasDataContainer): Dictionary containing the unit normalisations. eq_names : numpy.ndarray Array containing the names of the equilibrium arrays. - legolas_version : ~pylbo._version.VersionHandler - The current Legolas version. """ def __init__(self, datfile): @@ -221,11 +219,6 @@ def u3_str(self) -> str: """Returns the :math:`u_3` string.""" return "z" - @property - def has_residuals(self) -> bool: - """Returns `True` if the dataset has residuals.""" - return self.header["residuals_written"] - @property def continua(self) -> dict: """Returns the continua in a dict with the continua names as keys.""" diff --git a/post_processing/pylbo/utilities/datfiles/header_legacy.py b/post_processing/pylbo/utilities/datfiles/header_legacy.py index e0509668..292e5133 100644 --- a/post_processing/pylbo/utilities/datfiles/header_legacy.py +++ b/post_processing/pylbo/utilities/datfiles/header_legacy.py @@ -8,7 +8,6 @@ from pylbo.utilities.datfiles.istream_reader import ( SIZE_COMPLEX, SIZE_DOUBLE, - SIZE_INT, read_boolean_from_istream, read_complex_from_istream, read_float_from_istream, @@ -16,7 +15,6 @@ read_string_from_istream, requires_version, ) -from pylbo.utilities.toolbox import transform_to_numpy class LegolasLegacyHeader(LegolasHeader):