Skip to content

Commit

Permalink
Update tests for parallel img2ts and irregular images
Browse files Browse the repository at this point in the history
  • Loading branch information
wpreimes committed Jan 12, 2024
1 parent 0c94d8c commit 21f1683
Show file tree
Hide file tree
Showing 4 changed files with 156 additions and 282 deletions.
254 changes: 0 additions & 254 deletions docs/ts2img.rst

This file was deleted.

4 changes: 4 additions & 0 deletions src/repurpose/concatenate.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"""
Module to concatenate the data from multiple time series sources.
This is used when e.g a CDR and ICDR time series data set should be merged.
"""
3 changes: 2 additions & 1 deletion tests/test_docs/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import pytest
from repurpose.process import rootdir


examples_path = os.path.join(rootdir(), 'docs', 'examples')

@pytest.mark.parametrize("notebook", [
Expand All @@ -32,5 +31,7 @@ def test_ipython_notebook(notebook):
"""
preprocessor = ExecutePreprocessor(timeout=600, kernel_name="python3")
with open(os.path.join(examples_path, notebook)) as f:
# warning: from nbformat.validator import normalize
nb = nbformat.read(f, as_version=4)
preprocessor.preprocess(nb)

Loading

0 comments on commit 21f1683

Please sign in to comment.