Skip to content

Commit

Permalink
Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
RubelMozumder committed Sep 13, 2024
1 parent 1a11e95 commit c679bbe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pynxtools/dataconverter/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
from pynxtools.definitions.dev_tools.utils.nxdl_utils import (
get_required_string as nexus_get_required_string,
)
from numpy.char import chararray

logger = logging.getLogger("pynxtools")

Expand Down Expand Up @@ -583,7 +582,7 @@ def is_value_valid_element_of_enum(value, elist) -> Tuple[bool, list]:
"ISO8601": (str,),
"NX_BINARY": (bytes, bytearray, np.byte, np.ubyte, np.ndarray),
"NX_BOOLEAN": (bool, np.ndarray, np.bool_),
"NX_CHAR": (str, np.ndarray, chararray),
"NX_CHAR": (str, np.ndarray, np.char.chararray),
"NX_DATE_TIME": (str,),
"NX_FLOAT": (float, np.ndarray, np.floating),
"NX_INT": (int, np.ndarray, np.signedinteger),
Expand Down

0 comments on commit c679bbe

Please sign in to comment.