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

BUG: Bruker input using Ch2 only. #1148

Open
LABell2842 opened this issue Oct 4, 2024 · 0 comments
Open

BUG: Bruker input using Ch2 only. #1148

LABell2842 opened this issue Oct 4, 2024 · 0 comments

Comments

@LABell2842
Copy link

Describe the issue:

I am trying to run single plane Bruker files, but my recording uses Ch2 only. Based on the documentation, I reasoned that the following settings should work...

ops['input_format'] = "bruker"
ops['bruker'] = True
ops['nchannels'] = 1
ops['functional_chan'] = 1

I've tried various combinations with altering these settings, but I can't seem to get it to run bruker-type files with only Ch2 in the directory. Is this because the bruker setting "looks for files containing ‘Ch1’, and will assume all additional files are ‘Ch2’.", but it give the error 'could not find any tiffs' because there are no Ch1 files? The settings work on Time-series using both channels, where Ch1 & Ch2 bruker .ome.tifs are present in the directory. Is there a work around to get suite2p to process bruker Ch2 files as a single/functional channel?

Reproduce the code example:

passing these settings to a .py script for processing...  This works for 2-channel recordings (with adjusted settings (nchannels=2 & functional_chan=2). I also have the same problem using the gui with 'bruker' selected from the input_format drop down. Again, it works for recordings with Ch1 & Ch2 files, but I've not found a way to run with Ch2 only.

ops['input_format'] = "bruker"
ops['bruker'] = True
ops['nchannels'] = 1
ops['functional_chan'] = 1

Error message:

bruker
Could not find any tiffs
Error processing

Version information:

Name Version Build Channel

suite2p 0.14.4 pypi_0 pypi

Context for the issue:

I am trying to integrate user-defined settings as arguments for use by different people in the lab. Some use Ch1 & Ch2 recordings (Ch2 is gcamp & Ch1 is tdT), some use only Ch2 (gcamp), and some use only Ch1 (jrgeco), so as of now, there is are several in the lab using the pipeline, but suite2p is not able to process their data.

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

No branches or pull requests

1 participant