Skip to content

Commit

Permalink
fix flake8 + docs issues
Browse files Browse the repository at this point in the history
  • Loading branch information
n-claes committed Jan 5, 2023
1 parent cca48ef commit f43f24b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions post_processing/pylbo/data_containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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."""
Expand Down
2 changes: 0 additions & 2 deletions post_processing/pylbo/utilities/datfiles/header_legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@
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,
read_int_from_istream,
read_string_from_istream,
requires_version,
)
from pylbo.utilities.toolbox import transform_to_numpy


class LegolasLegacyHeader(LegolasHeader):
Expand Down

0 comments on commit f43f24b

Please sign in to comment.