aodn / imos-toolbox

Graphical tool for QC'ing and NetCDF'ing oceanographic datasets
GNU General Public License v3.0
46 stars 31 forks source link

Cellutils fixes #617

Closed ocehugo closed 4 years ago

ocehugo commented 4 years ago

The gist of this PR is to 1.fix a broken function popfromcell and 2. fix an incorrect case handling of an empty match within inCellPartialMatch.

The problems were not picked because the tests were manual and not ported away from the respective examples docstrings. Hence, I also 3. update docstrings and 4. included the proper tests files.

Finally, the files were previously merged using the non-standard linting scheme/config, so I also 5. adjusted the affected files to the "standard toolbox linting" scheme.

Hence, the commits with linting scope should be ignored, since they affect all lines and are just space adjustments.