Skip to content

Daily Example tests failing #1007

@rly

Description

@rly

Describe the issue

For the example SpikeGLXConverter-Phy https://github.com/NeurodataWithoutBorders/nwb-guide/actions/runs/16171462278/job/45646662581#logs

[electron] [2025-07-09 14:22:13,971] INFO in app: Logging error message: Conversion failed for SpikeGLXConverter-Phy — /Users/runner/NWB_GUIDE/.test/preview/SpikeGLXConverter-Phy/sub-mouse1/sub-mouse1_ses-session1.nwb (convert_to_nwb)

stdout | tests/e2e/pipelines.test.ts > Run example pipelines > Generate and run pipeline from YAML file > SpikeGLXConverter-Phy > Full conversion completed
[electron] [2025-07-09 14:22:13,972] ERROR in app: Conversion failed for SpikeGLXConverter-Phy — /Users/runner/NWB_GUIDE/.test/preview/SpikeGLXConverter-Phy/sub-mouse1/sub-mouse1_ses-session1.nwb (convert_to_nwb)
Traceback (most recent call last):
  File "/Users/runner/work/nwb-guide/nwb-guide/src/pyflask/manageNeuroconv/manage_neuroconv.py", line 1020, in create_file
    converter.run_conversion(**run_conversion_kwargs)
  File "/Users/runner/miniconda3/envs/nwb-guide/lib/python3.12/site-packages/neuroconv/nwbconverter.py", line 247, in run_conversion
    self.add_to_nwbfile(nwbfile=nwbfile_out, metadata=metadata, conversion_options=conversion_options)
  File "/Users/runner/work/nwb-guide/nwb-guide/src/pyflask/manageNeuroconv/manage_neuroconv.py", line 387, in add_to_nwbfile
    data_interface.add_to_nwbfile(**subconverter_kwargs)
  File "/Users/runner/miniconda3/envs/nwb-guide/lib/python3.12/site-packages/neuroconv/nwbconverter.py", line 171, in add_to_nwbfile
    data_interface.add_to_nwbfile(
  File "/Users/runner/miniconda3/envs/nwb-guide/lib/python3.12/site-packages/neuroconv/datainterfaces/ecephys/baserecordingextractorinterface.py", line 361, in add_to_nwbfile
    add_recording_to_nwbfile(
  File "/Users/runner/miniconda3/envs/nwb-guide/lib/python3.12/site-packages/neuroconv/tools/spikeinterface/spikeinterface.py", line 1115, in add_recording_to_nwbfile
    add_electrical_series_to_nwbfile(
  File "/Users/runner/miniconda3/envs/nwb-guide/lib/python3.12/site-packages/neuroconv/tools/spikeinterface/spikeinterface.py", line 954, in add_electrical_series_to_nwbfile
    nwbfile.add_acquisition(es)
  File "/Users/runner/miniconda3/envs/nwb-guide/lib/python3.12/site-packages/hdmf/utils.py", line 668, in func_call
    return func(args[0], **pargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/runner/miniconda3/envs/nwb-guide/lib/python3.12/site-packages/pynwb/file.py", line 852, in add_acquisition
    self._add_acquisition_internal(nwbdata)
  File "/Users/runner/miniconda3/envs/nwb-guide/lib/python3.12/site-packages/hdmf/utils.py", line 668, in func_call
    return func(args[0], **pargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/runner/miniconda3/envs/nwb-guide/lib/python3.12/site-packages/hdmf/container.py", line 1212, in _func
    raise ValueError(msg)
ValueError: Cannot add <class 'pynwb.ecephys.ElectricalSeries'> 'ElectricalSeriesAPImec0' at 0x4644499392 to dict attribute 'acquisition' in <class 'pynwb.file.NWBFile'> 'root'. <class 'pynwb.ecephys.ElectricalSeries'> 'ElectricalSeriesAPImec0' at 0x4646063376 already exists in 'acquisition' and has the same name.

This was working 3 days ago (after the 1.0.6 release). Not sure yet why this error is happening.

Steps to Reproduce

See workflow.

Operating System

All

GUIDE Version

main

Code of Conduct

Yes

Did you confirm this issue was not already reported?

Yes

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions