AllenInstitute / MIES

Multichannel Igor Electrophysiology Suite
https://alleninstitute.github.io/MIES/user.html
Other
21 stars 6 forks source link

Debug: Add define DISABLE_WAVECACHE to disable caching of waves #2104

Closed MichaelHuth closed 1 month ago

MichaelHuth commented 2 months ago

When the define is set, all storing attempts and fetching attempts do nothing, i.e. fetching returns a null wave as if there is a cache miss.

When the define is set the cache state is not changed.

close #2090

requires https://github.com/byte-physics/igortest/pull/469

t-b commented 2 months ago

Compilation test fails:

  Entering test case "TestCompilation:UTF_HardwareAnalysisFunctions:TESTS_WITH_SUTTER_HARDWARE"

  UTF_HardwareHelperFunctions.ipf:1437:2: error: expected a keyword or an object name

  File "UTF_HardwareAnalysisFunctions" could not be compiled (state: COMP_UNCOMPILED): is false. Assertion "CHECK_COMPILATION(md.s0, defines = {md.s1})" failed in TestCompilation [MIES_CompilationTester] (CompilationTester.ipf, line 82)

  Leaving test case "TestCompilation:UTF_HardwareAnalysisFunctions:TESTS_WITH_SUTTER_HARDWARE"

  Entering test case "TestCompilation:UTF_HardwareBasic:TESTS_WITH_SUTTER_HARDWARE"

  UTF_HardwareHelperFunctions.ipf:1437:2: error: expected a keyword or an object name

  File "UTF_HardwareBasic" could not be compiled (state: COMP_UNCOMPILED): is false. Assertion "CHECK_COMPILATION(md.s0, defines = {md.s1})" failed in TestCompilation [MIES_CompilationTester] (CompilationTester.ipf, line 82)
MichaelHuth commented 2 months ago

Sorry, I realized that this PR requires an igortest extension. I created a PR for that here: https://github.com/byte-physics/igortest/pull/469