Open sspagnol opened 3 years ago
Good catch!
Also are the tests actually run? Ask as they refer to a function read_nortek_key()
Not for this one! The problem here is that the docstring test of read_header_key
cannot be reached because test_docstring
can only inspect the top function docstring, which is signatureParse
. Hence, the docstring is never evaluated and became outdated/wrong. This is the reason why this function docstring is currently outdated/wrong.
To solve this, one needs to factor the function out into another file, but this involves renaming it to a meaningful name, since it is only for Norteks.
Tasks involved:
read_nortek_header_key
or alike.
In signatureParse.m, the function read_header_key() does not correctly extract key if it's the last in the list. For example this would fail
Pretty sure the regex should change from
To
i.e remove last comma.
Also are the tests actually run? Ask as they refer to a function read_nortek_key()