Skip to content

Commit

Permalink
src/ospx/watch/watchCosim.py : Small change to improve type-safety an…
Browse files Browse the repository at this point in the history
…d avoid type-checking errors by pyright
  • Loading branch information
ClaasRostock committed Feb 8, 2024
1 parent cb84314 commit 7501879
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/ospx/watch/watchCosim.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,7 @@ def _define_data_source_properties_for_plotting(self):

_column_names: List[str] = [data_header[column] for column in data_columns]
data_source_properties.update({"colNames": _column_names})
_display_column_names: List[str] = [
pattern.sub("", col_name)
for col_name in data_source_properties["colNames"] # type: ignore
]
_display_column_names: List[str] = [pattern.sub("", col_name) for col_name in _column_names]
# _display_column_names = ["Time", "StepCount"] + [
_display_column_names = [
data_source_name + "|" + col_name
Expand Down

0 comments on commit 7501879

Please sign in to comment.