Hi Michael,

Nice catch indeed!
If you were able to submit a test for this all the better.
Thanks

On Wed, Feb 3, 2016 at 1:57 AM, <[email protected]> wrote:

> Ahhhh spotted it!
>
> When the variable is set, it is a Boolean.
>
> $scope.fileLoadFailed = true;
>
> or
>
> $scope.fileLoadFailed = false;
>
> When it does the comparison, it does so on a string.
>
> if($scope.fileLoadFailed === 'false')
>
> So it always fails.
>
> I'll put in a patch for this.  I also noticed the knmi bias example fails
> on a small bug in dataset_processor "global name size is not defined". I'll
> patch that at the same time.
>
>

Reply via email to