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

Add testing with ITC1600 #1900

Merged
merged 16 commits into from
Oct 31, 2023
Merged

Add testing with ITC1600 #1900

merged 16 commits into from
Oct 31, 2023

Conversation

t-b
Copy link
Collaborator

@t-b t-b commented Sep 25, 2023

  • Check the definition of ttlBit, it seems to be not clear if that is in the range [0, 3] for every rack or in the range [0, 7]

-> Look into code, having [0, 7] would be nice.

@t-b t-b self-assigned this Sep 25, 2023
@t-b

This comment was marked as outdated.

@t-b t-b force-pushed the feature/1900-add-testing-with-ITC1600 branch from 7c60e0c to cd91887 Compare October 3, 2023 19:22
@t-b

This comment was marked as outdated.

@MichaelHuth

This comment was marked as outdated.

@t-b t-b force-pushed the feature/1900-add-testing-with-ITC1600 branch 6 times, most recently from 0522f0f to 4a9a3ed Compare October 11, 2023 12:47
@t-b t-b marked this pull request as ready for review October 11, 2023 12:59
@t-b t-b requested a review from timjarsky as a code owner October 11, 2023 12:59
@t-b t-b added the PR:NeedsBackport (Pull requests only) Mark it as requiring a backport to the latest release branch label Oct 11, 2023
@t-b t-b assigned MichaelHuth and unassigned t-b Oct 11, 2023
Copy link
Collaborator

@MichaelHuth MichaelHuth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments

Packages/MIES/MIES_NeuroDataWithoutBorders.ipf Outdated Show resolved Hide resolved
Packages/tests/UTF_TestNWBExportV2.ipf Outdated Show resolved Hide resolved
@MichaelHuth MichaelHuth assigned t-b and unassigned MichaelHuth Oct 19, 2023
@t-b t-b force-pushed the feature/1900-add-testing-with-ITC1600 branch 2 times, most recently from 2d100f2 to 9c31cd1 Compare October 19, 2023 19:59
@t-b t-b enabled auto-merge October 19, 2023 19:59
@t-b t-b requested a review from MichaelHuth October 19, 2023 20:00
@t-b t-b assigned MichaelHuth and unassigned t-b Oct 20, 2023
t-b added 5 commits October 20, 2023 13:09
In a future commit we want to introduce testing with ITC1600 so the
current name is too general.
Only that is available on the test machine.
…for ITC1600

In 7dc07c7 (LNB: Save decimated stim set length for TTL channels,
2023-07-05) we changed the stored stimset lengths to be decimated. But the
test assertion for ITC1600 was incorrectly adapted as the sampling
interval is different for ITC1600.
…recedence

This makes the code easier to understand.
t-b added 11 commits October 20, 2023 13:09
These are in the range [0, 3] as well.
Mention that the channels are GUI channel numbers.
…hardware

Since 2637e08 (Add channel types support to EpochsWave as chunk index,
2023-07-07) we have support for exporting epoch information of TTL
channels into NWBv2.

Unfortunately that commit failed to realize that we have to export TTL
information per ttlBit for ITC hardware. As the tests were also wrong,
this was found until now with the ITC1600 tests.
…s for ITC rack one

This should catch errors better.
The current code did not correctly store the stimsets for ITC hardware if
rack one is active with the ITC1600. As fixing it quickly would have made
complicated code worse, we rewrote the TTL channel export to be hardware
independent.
… suffix generation in NWB

Since 5f0f447 (NWB_AppendSweepLowLevel: Add support for TTL data from NI
hardware, 2018-09-12) we don't use the ttlBit as channelSuffix anymore but
2^ttlBit. It is unclear at this point why this was changed.

Introduce functions to convert between the two representations to avoid
even more confusion in the future.
@t-b t-b force-pushed the feature/1900-add-testing-with-ITC1600 branch from 9c31cd1 to b7afd53 Compare October 20, 2023 11:10
Copy link
Collaborator

@MichaelHuth MichaelHuth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@MichaelHuth MichaelHuth assigned t-b and unassigned MichaelHuth Oct 21, 2023
@t-b t-b assigned timjarsky and unassigned t-b Oct 22, 2023
@timjarsky
Copy link
Collaborator

@t-b, what's going on with the tests without status reports? i.e., Test ITC HardwareAnalysisFunctions and Test ITC HardwareBasic

@timjarsky timjarsky assigned t-b and unassigned timjarsky Oct 31, 2023
@t-b
Copy link
Collaborator Author

t-b commented Oct 31, 2023

@timjarsky I've renamed the jobs from ITC to ITC18 and therefore the checks list is currently not complete. Once this PR is merged, I'll update that list.

@t-b t-b disabled auto-merge October 31, 2023 21:05
@t-b t-b merged commit 6ee4d76 into main Oct 31, 2023
18 checks passed
@t-b t-b deleted the feature/1900-add-testing-with-ITC1600 branch October 31, 2023 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR:NeedsBackport (Pull requests only) Mark it as requiring a backport to the latest release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants