Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
rettigl committed Mar 5, 2025
1 parent b336ca5 commit e9b025e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pynxtools/dataconverter/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,10 @@ def is_value_valid_element_of_enum(value, elist) -> Tuple[bool, list]:
"NX_UINT": (np.unsignedinteger,),
"NX_NUMBER": nx_number,
"NX_POSINT": nx_int, # > 0 is checked in is_valid_data_field()
"NX_COMPLEX": (complex, np.complexfloating,),
"NX_COMPLEX": (
complex,
np.complexfloating,
),
"NX_CHAR_OR_NUMBER": nx_char + nx_number,
"NXDL_TYPE_UNAVAILABLE": (str,), # Defaults to a string if a type is not provided.
}
Expand Down

0 comments on commit e9b025e

Please sign in to comment.