Skip to content
Snippets Groups Projects
Commit cf77feed authored by Olivier Bertrand's avatar Olivier Bertrand
Browse files

Add todo on renderer

parent 87bbec96
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,7 @@ class AbstractRender():
# not exist
self._logger.debug('render output:{}'.format(outputfile))
dirname = os.path.dirname(outputfile)
# Todo empty dirname
if not os.path.isdir(dirname):
os.makedirs(dirname)
# Check the file type
......
......@@ -590,7 +590,7 @@ series.
b, a = signal.butter(order.loc[col], cutoff.loc[col])
if padlen is None:
padlen = 3*max(len(a), len(b))
if trajno_nan.shape[0] < padlen:
if trajno_nan.shape[0] <= padlen:
self.loc[indeces, col] *= np.nan
else:
if col[0] == 'location':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment