Whoops! Misunderstood the request a bit, but all is fixed now I believe.


On Tue, Apr 9, 2013 at 10:31 PM, Steven Christe <notifications@github.com>wrote:

> In sunpy/time/timerange.py:
>
> > @@ -115,6 +117,19 @@ def center(self):
> >          """Gets the center of the TimeRange instance"""
> >          return self.t1 + self.dt / 2
> >
> > +    def split(self,n):
> > +        """Gets n equal subsections between start and end"""
> > +        if n <= 0:
> > +            raise ValueError('n must be greater than or equal to 1')
> > +        #If n is 1 return the center
> > +        if n == 1:
>
> if n is 1, should just return self.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/sunpy/sunpy/pull/427/files#r3726891>
> .
>