-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move session start time to the NWBExtractor #21
Conversation
series_datetime = read_session_date_from_file(folder_path=self.folder_path) | ||
return series_datetime | ||
relative_times = [ | ||
float(frame.attrib["relativeTime"]) for frame in frame_elements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing this to relativeTime as in the comment.
description=f"{self.imaging_purpose} imaging data ({indicator}) acquired from the Bruker Two-Photon Microscope", | ||
unit="px", | ||
description=f"{self.imaging_purpose} imaging data ({indicator})", | ||
unit="voxels", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure about this @alessandratrapani what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually it should be n.a. as in the default value. My mistake, I misunderstood the meaning here. For reference see this discussion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, changed, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look good to me!
Changed the methods to extract the session start time from the extractor to the interface where it belongs.