Skip to content

Commit

Permalink
MAINT: minor fixes in contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
Holger Kohr committed Nov 13, 2017
1 parent 75f46fc commit 1e95b3b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion odl/contrib/datasets/ct/examples/fips_reconstruct.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
fbp_op = odl.tomo.fbp_op(ray_transform, filter_type='Hann')

data = fips.lotus_root_data()
fbp_op(data).show('Lotus root FBP reconstruction', clim=[0, 0.1])
fbp_op(data).show('Lotus root FBP reconstruction', clim=[0, 0.1])
2 changes: 2 additions & 0 deletions odl/contrib/mrc/test/mrc_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import numpy as np
import tempfile

import odl
from odl.contrib.mrc import (
mrc_header_from_params, FileWriterMRC, FileReaderMRC)
from odl.util.testutils import all_equal, simple_fixture
Expand All @@ -32,6 +33,7 @@ def mrc_mode_dtype(request):
mode, dtype = request.param
return mode, np.dtype(dtype)


axis_order = simple_fixture(
name='axis_order',
params=list(permutations((0, 1, 2))))
Expand Down
2 changes: 1 addition & 1 deletion odl/contrib/mrc/test/uncompr_bin_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"""

from __future__ import division
import pytest
import numpy as np
import tempfile

import odl
from odl.contrib.mrc import (
FileWriterRawBinaryWithHeader, FileReaderRawBinaryWithHeader)
from odl.util.testutils import simple_fixture
Expand Down

0 comments on commit 1e95b3b

Please sign in to comment.