spkir_abj_cspp test cases delivery with validate_dataset fix for error m...

...essages
Was not thinking right with use of global.  Updated the code with fixes,
and also added more for ctdm-ghqr-sio




From:	Pete Cable <notifications@github.com>
To:	oceanobservatories/ooi-tools <ooi-tools@noreply.github.com>
Cc:	mcworden <mark_c_worden@raytheon.com>
Date:	12/19/2014 01:10 PM
Subject:	Re: [ooi-tools] spkir_abj_cspp test cases delivery with
            validate_dataset fix for error m... (#91)



In dataset/validate_dataset.py:


> @@ -39,6 +39,8 @@
>  except ImportError:
>      from yaml import Loader, Dumper
>
> +global errors_to_report



I don't think this needs to global, except where be assigned.


You could replace line 259 with:


del(l[:])


and you shouldn't need the globals anywhere in the code


—
Reply to this email directly or view it on GitHub.