Is this just
```
while s1.getn() < n:
    s1 = self._eval_nseries(x, n=ndo, logx=None)
```
?