Skip to content

Commit

Permalink
Add small test for crop parameter to pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
jni committed Mar 14, 2017
1 parent 02fd3c7 commit 79c8ab7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions skan/test/test_pipe.py
Expand Up @@ -18,6 +18,10 @@ def test_pipe(image_filename):
assert type(data[0]) == pandas.DataFrame
assert data[0].shape[0] > 0

data2 = pipe.process_images([image_filename], 'fei', 5e-8, 0.1, 0.075,
'Scan/PixelHeight', crop_radius=75)[0]
assert data2.shape[0] < data[0].shape[0]


def test_pipe_figure(image_filename):
with tempfile.TemporaryDirectory() as tempdir:
Expand Down

0 comments on commit 79c8ab7

Please sign in to comment.