Creating a dataset #19
Replies: 4 comments 6 replies
-
The problem is with |
Beta Was this translation helpful? Give feedback.
-
Can you copy paste the output of:
|
Beta Was this translation helpful? Give feedback.
-
Why are your x_data and y_data lists of arrays? I would expect them to both
be just arrays
On Tue, Jan 11, 2022 at 9:39 AM davidgodinez ***@***.***> wrote:
[image: Screen Shot 2022-01-11 at 8 38 37 AM]
<https://user-images.githubusercontent.com/43123708/148963124-62236ef8-4846-460f-9689-441fbb35ddf5.png>
—
Reply to this email directly, view it on GitHub
<#19 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGOEEUKIHWX5LQ6BHOVAP3UVQ6IXANCNFSM5LU5UHCQ>
.
You are receiving this because you commented.Message ID:
<NeurodataWithoutBorders/helpdesk/repo-discussions/19/comments/1948194@
github.com>
--
Ben Dichter, PhD
Data Science Consultant
personal website <http://bendichter.com/>
|
Beta Was this translation helpful? Give feedback.
-
We met and determined that x_data and y_data were a list of data per trial. The solution was to concatenate this data first. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings!
I have this code and if I just run it as it is, it works. But if I try to write it to a nwbfile it gives an exception.
Exception: Could not create dataset data in /acquisition/BehavioralTimeSeries/BehavioralTimeSeries_<class 'pipeline.tracking.Tracking.NoseTracking'>_x_y_data with shape (2, 1904), dtype <class 'numpy.object_'>, and iosettings {}. Object dtype dtype('O') has no native HDF5 equivalent
Beta Was this translation helpful? Give feedback.
All reactions