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

Update get_nd2_list function #7

Merged
merged 5 commits into from
Aug 16, 2023
Merged

Update get_nd2_list function #7

merged 5 commits into from
Aug 16, 2023

Conversation

sidhulyalkar
Copy link
Collaborator

  • Adds functionality to pull the specified tiff_list from the ops parameters, and to restriction the construction of the .nd2 file list to the specified files.

fsall.append(os.path.join(froot[0], tif))
ops["first_tiffs"] = np.zeros((len(fsall),), dtype="bool")
ops["first_tiffs"][0] = True
print("** Found %d nd2 files - converting to binary **" % (len(fsall)))

Choose a reason for hiding this comment

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

This is duplicated again below, you can just move this out of the if/else block.

suite2p/io/utils.py Outdated Show resolved Hide resolved
@sidhulyalkar sidhulyalkar changed the title Update get_nd2_llist function Update get_nd2_list function Aug 16, 2023
suite2p/io/utils.py Outdated Show resolved Hide resolved
Co-authored-by: Thinh Nguyen <[email protected]>
@ttngu207 ttngu207 merged commit 46040e1 into datajoint:main Aug 16, 2023
1 of 4 checks passed
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