Space after if
On May 11, 2014 7:29 AM, "Juan Nunez-Iglesias" <notifications@github.com>
wrote:

> In skimage/transform/integral.py:
>
> > +    --------
> > +    >>> arr = np.ones((5,6), dtype=np.float)
> > +    >>> ii = integral_image(arr)
> > +    >>> print(integrate(ii,(1,0), (1,2)))  # sum from (1,0) -> (1,2)
> > +    [ 3.]
> > +    >>> print(integrate(ii,(3,3), (4,5)))  # sum form (3,3) -> (4,5)
> > +    [ 6.]
> > +    >>> print(integrate(ii,([1,3], [0,3]), ([1,4], [2,5])))  # sum from (1,0) -> (1,2) and (3,3) -> (4,5)
> > +    [ 3.  6.]
> > +    >>> print(integrate(ii, [1,3], [0,3], [1,4], [2,5]))  # deprecated usage
> > +    [ 3.  6.]
> > +    """
> > +    rows = 1
> > +    # handle input from new input format
> > +    if(len(args) == 0):
> > +        if(not(isinstance(start[0], int))):
>
> @stefanv <https://github.com/stefanv> the spacing looks right to me
> here... What are you talking about?
>
> @syedTabish <https://github.com/syedTabish> I agree that checking against
> collections.Iterable is better here, since you are then using len inside
> the clause.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/scikit-image/scikit-image/pull/953/files#r12507494>
> .
>