-
Notifications
You must be signed in to change notification settings - Fork 34
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
Implement find_full_path
within ephys
modules
#35
Conversation
find_full_path
within ephys
module and move functions to element-data-loader
find_full_path
within ephys
modules
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.
Looks good, if anything I'd just suggest a minor change:
from element_data_loader.utils import find_root_directory, find_full_path, dict_to_uuid
just to cut down the element_data_loader.utils.
everywhere.
But I don't have a strong preference on this
Thanks @ttngu207. Changes implemented. Ready for review and merge. |
for serial_number, probe_data in dataset.probes.items(): | ||
if str(serial_number) == inserted_probe_serial_number: | ||
break |
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.
for serial_number, probe_data in dataset.probes.items(): | |
if str(serial_number) == inserted_probe_serial_number: | |
break | |
for serial_number in dataset.probes: | |
if str(serial_number) == inserted_probe_serial_number: | |
break |
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.
The variable probe_data
is used in the next section after the for
loop, so we would need to keep this statement as is.
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.
Then I would get probe_data
after the loop
for serial_number, probe_data in dataset.probes.items(): | |
if str(serial_number) == inserted_probe_serial_number: | |
break | |
for serial_number in dataset.probes: | |
if str(serial_number) == inserted_probe_serial_number: | |
probe_data = dataset.probes[serial_number] | |
break |
Directing to workflow for upstream `SkullReference` and utility functions
Added
|
element-data-loader
.workflow-array-ephys
pytests passed.element-data-loader
toelement-interface
.