Skip to content

Commit

Permalink
ensure int
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed Sep 24, 2024
1 parent da1d0c4 commit f423e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/rawio/neuronexusrawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def _parse_header(self):
hour = int(time_info[0][-2:])
minute = int(time_info[1])
second = int(float(time_info[2]))
microsecond = 1000 * 1000 * (float(time_info[2]) - second) # second -> micro is 1000 * 1000
microsecond = int(1000 * 1000 * (float(time_info[2]) - second))# second -> micro is 1000 * 1000

rec_datetime = datetime.datetime(year, month, day, hour, minute, second, microsecond)
bl_annotations = self.raw_annotations["blocks"][0]
Expand Down

0 comments on commit f423e34

Please sign in to comment.