Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Nov 1, 2024
1 parent a7839e4 commit 00b40de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions spynnaker/pyNN/utilities/neo_buffer_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ def __get_segment_info(
"""):
t_str = self._string(row[self._REC_DATETIME])
time = datetime.strptime(t_str, "%Y-%m-%d %H:%M:%S.%f")
return (row[self._SEGMENT_NUMBER], time, row[self._T_STOP], row[self._DT],
self._string(row[self._SIMULATOR]))
return (row[self._SEGMENT_NUMBER], time, row[self._T_STOP],
row[self._DT], self._string(row[self._SIMULATOR]))
raise ConfigurationException(
"No recorded data. Did the simulation run?")

Expand Down
6 changes: 3 additions & 3 deletions spynnaker/pyNN/utilities/neo_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,16 @@ class NeoCsv(object):

def _csv_variable_metdata(
self, csv_writer: CSVWriter, variable_type: str, variable: str,
t_start: float, t_stop: Optional[float], sampling_interval_ms: float,
units: Optional[str]):
t_start: float, t_stop: Optional[float],
sampling_interval_ms: float, units: Optional[str]) -> None:
"""
Writes the metadata for a variable to CSV
:param ~csv.writer csv_writer: Open CSV writer to write to
:param str variable_type:
:param str variable:
:param float t_start:
:param float t_stop:
:param t_stop:
:param float sampling_interval_ms:
:param str units:
"""
Expand Down

0 comments on commit 00b40de

Please sign in to comment.