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

x-to-nwb (AttributeError: _stringsIndexed) #9

Open
TeamPrigge opened this issue Sep 14, 2021 · 3 comments
Open

x-to-nwb (AttributeError: _stringsIndexed) #9

TeamPrigge opened this issue Sep 14, 2021 · 3 comments

Comments

@TeamPrigge
Copy link

Dear Developers,

I recently tried to convert my abfV2 file into NWB but I am getting error right off the bat:

AttributeError: 'ABF' object has no attribute '_stringsIndexed'

I was wondering if anyone could helf solve the problem.

Best,
Hassan

@TeamPrigge
Copy link
Author

@t-b
Copy link
Member

t-b commented Oct 27, 2021

@TeamPrigge I presume you are the same Hassan which also emailed me.

When I'm converting the file with

$x-to-nwb XA9_0041_10062021_0010.abf 

I'm getting

Converting XA9_0041_10062021_0010.abf
/home/firma/.pyenv/versions/3.8.6/lib/python3.8/site-packages/x_to_nwb/ABF2Converter.py:168: UserWarning: Could not find the JSON file XA9_0041_10062021_0010.json with settings.
  warnings.warn(f"Could not find the JSON file {settings} with settings.")
WARNING:pyabf.abf:fileGUID isn't truly unique (fileUUID is)
/home/firma/.pyenv/versions/3.8.6/lib/python3.8/site-packages/x_to_nwb/ABF2Converter.py:492: UserWarning: Could not find the scale factor for the stimset CC_longSquare_IV_ABA, using 1.0 as fallback.
  warnings.warn(
/home/firma/.pyenv/versions/3.8.6/lib/python3.8/site-packages/x_to_nwb/ABF2Converter.py:523: UserWarning: Could not find settings for amplifier unknown of channel PrimOut2.
  warnings.warn(f"Could not find settings for amplifier {amplifier} of channel {adcName}.")
/home/firma/.pyenv/versions/3.8.6/lib/python3.8/site-packages/x_to_nwb/ABF2Converter.py:523: UserWarning: Could not find settings for amplifier unknown of channel SecOut2.
  warnings.warn(f"Could not find settings for amplifier {amplifier} of channel {adcName}.")

Can you post what you got?
Please also attach the output of pip show x-to-nwb pyabf.

@MathkarP
Copy link

Hello,

Has this issue been resolved? I am also getting the same error when I try to convert ABFv2 files to nwb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants