Skip to content
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

Merged
merged 5 commits into from
Nov 30, 2023
Merged

Conversation

h-mayorquin
Copy link
Collaborator

Changed the methods to extract the session start time from the extractor to the interface where it belongs.

@h-mayorquin h-mayorquin self-assigned this Nov 30, 2023
@h-mayorquin h-mayorquin marked this pull request as ready for review November 30, 2023 14:29
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
Copy link
Collaborator Author

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",
Copy link
Collaborator Author

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?

Copy link
Contributor

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, changed, thanks!

Copy link
Contributor

@alessandratrapani alessandratrapani left a 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!

@h-mayorquin h-mayorquin merged commit 23cb81c into main Nov 30, 2023
@h-mayorquin h-mayorquin deleted the add_new_alignment branch November 30, 2023 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants