Git Product home page Git Product logo

Comments (4)

ajtritt avatar ajtritt commented on May 17, 2024

Original comment by Andrew Tritt (Bitbucket: ajtritt, GitHub: ajtritt):


Merged in issue_34 (pull request #67)

fixing issue #34 and issue #35

from pynwb.

ajtritt avatar ajtritt commented on May 17, 2024

Original comment by Andrew Tritt (Bitbucket: ajtritt, GitHub: ajtritt):


From Loren:

Traceback (most recent call last):
File "/Users/loren/Src/NWB/pynwb/src/form/backends/hdf5/h5tools.py", line 327, in list_fill
data_dtype = __get_type(data)
File "/Users/loren/Src/NWB/pynwb/src/form/backends/hdf5/h5tools.py", line 221, in __get_type
raise ValueError('cannot determine type for empty data')
ValueError: cannot determine type for empty data

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/Users/loren/Src/NWB/franklabnwb/convert_nspike.py", line 492, in
io.write(nwbf)
File "/Users/loren/Src/NWB/pynwb/src/form/utils.py", line 231, in func_call
return func(self, **parsed['args'])
File "/Users/loren/Src/NWB/pynwb/src/form/backends/io.py", line 25, in write
self.write_builder(f_builder)
File "/Users/loren/Src/NWB/pynwb/src/form/utils.py", line 231, in func_call
return func(self, **parsed['args'])
File "/Users/loren/Src/NWB/pynwb/src/form/backends/hdf5/h5tools.py", line 120, in write_builder
write_group(self.__file, name, gbldr.groups, gbldr.datasets, gbldr.attributes, gbldr.links)
File "/Users/loren/Src/NWB/pynwb/src/form/utils.py", line 238, in func_call
return func(**parsed['args'])
File "/Users/loren/Src/NWB/pynwb/src/form/backends/hdf5/h5tools.py", line 161, in write_group
builder.links)
File "/Users/loren/Src/NWB/pynwb/src/form/utils.py", line 238, in func_call
return func(**parsed['args'])
File "/Users/loren/Src/NWB/pynwb/src/form/backends/hdf5/h5tools.py", line 168, in write_group
builder.get('attributes'))
File "/Users/loren/Src/NWB/pynwb/src/form/utils.py", line 238, in func_call
return func(**parsed['args'])
File "/Users/loren/Src/NWB/pynwb/src/form/backends/hdf5/h5tools.py", line 261, in write_dataset
dset = list_fill(parent, name, data)
File "/Users/loren/Src/NWB/pynwb/src/form/backends/hdf5/h5tools.py", line 329, in list_fill
raise Exception('cannot add %s to %s - could not determine type' % (name, parent.name)) from exc
Exception: cannot add tags to /epochs/day 3 - could not determine type

Process finished with exit code 1

from pynwb.

ajtritt avatar ajtritt commented on May 17, 2024

Original comment by Loren Frank (Bitbucket: lmfrnk, GitHub: Unknown):


Great; I’ll test it out as soon as I can and get back to you…

Loren

Loren M. Frank

Professor
Howard Hughes Medical Institute
Kavli Institute for Fundamental Neuroscience
Department of Physiology
University of California, San Francisco
Office Phone: 415-502-7357

from pynwb.

ajtritt avatar ajtritt commented on May 17, 2024

Original comment by Andrew Tritt (Bitbucket: ajtritt, GitHub: ajtritt):


Hi Loren,

This looks like a problem when trying to create a file that already exists. I added some logic to deal with this. Please update and let me know if you still get this error.

Andrew

from pynwb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.