Skip to content

Support signal annotations in NeoMatlabIO#633

Merged
apdavison merged 6 commits intoNeuralEnsemble:masterfrom
lkoelman:lkmn-dev
Sep 7, 2020
Merged

Support signal annotations in NeoMatlabIO#633
apdavison merged 6 commits intoNeuralEnsemble:masterfrom
lkoelman:lkmn-dev

Conversation

@lkoelman
Copy link
Contributor

Add support for reading basic annotations in NeoMatlabIO.

@pep8speaks
Copy link

pep8speaks commented Jan 15, 2019

Hello @lkoelman! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 291:47: W504 line break after binary operator

Comment last updated at 2020-08-28 09:15:01 UTC

@samuelgarcia
Copy link
Contributor

Hi @lkoelman.
Thank you for this.
Could you add some test about this in neo/test/iotest/test_neomatlabio.py ?
make a new method in TestNeoMatlabIO.

Samuel

@apdavison
Copy link
Member

@lkoelman will you have time to add some tests for this? If you can provide this soon, we can include this in the upcoming 0.8.0 release

@lkoelman
Copy link
Contributor Author

lkoelman commented Jul 23, 2019 via email

@apdavison
Copy link
Member

@lkoelman thanks for the quick reply. I'll postpone this to the next milestone.

@apdavison apdavison added this to the 0.9.0 milestone Jul 23, 2019
@apdavison
Copy link
Member

@lkoelman do you expect to have any time soon to add a test to this PR?

@lkoelman
Copy link
Contributor Author

lkoelman commented Apr 27, 2020 via email

@samuelgarcia
Copy link
Contributor

@mdenker : do you think you will have time to add some tests ?

@mdenker
Copy link
Member

mdenker commented Jul 7, 2020

@samuelgarcia Yes, I'll have a look and will cook up some tests. It seems we need to fix a small conflict as well, since there was already a fix for annotations in a previous PR.

@samuelgarcia
Copy link
Contributor

samuelgarcia commented Aug 28, 2020

@mdenker @lkoelman
Hi. I have rebase this PR and added a very small test.
I think this is anough for now.

Could you have quick look ?

If it pass tests, I think thius is ready to merge.

@mdenker
Copy link
Member

mdenker commented Aug 31, 2020

Hi Samuel, thanks for the additions. I am currently looking into this -- I still get an unit test assertion error on my side, investigating. Also, to cross-check, I'm comparing the fixes with an ancient branch https://github.com/INM-6/python-neo/tree/feature/matlab_annotations. Hope to get this sorted out by today.

@samuelgarcia
Copy link
Contributor

Hi Michael.
Could you sen dyour error trace ?

@mdenker
Copy link
Member

mdenker commented Sep 7, 2020

Still not sure, why I got errors, but I'm now convinced this was something strange on my side. Can confirm that this works and produces a workable matlab file, and it's compatible with the ancient branch.

What is not yet addressed is annotations which are a Quantity object. Values are correctly saved, but the unit is lost. I think this is a feature that should be handled by a separate PR. I opened #852 for this.

@apdavison apdavison merged commit 4e90312 into NeuralEnsemble:master Sep 7, 2020
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

Successfully merging this pull request may close these issues.

5 participants