Skip to content
Snippets Groups Projects
Commit 6a5b3fef authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Try to make module independent from pystencils

parent bb60b621
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,6 @@ except Exception as e:
import warnings
warnings.warn(str(e))
import pyronn_torch.codegen
cpp_extension = pyronn_torch.codegen.generate_shared_object()
cpp_extension = pyronn_torch.codegen.compile_shared_object()
__all__ = ['ConeBeamProjector', 'cpp_extension']
This diff is collapsed.
......@@ -6,6 +6,8 @@
"""
"""
import pytest
import pyronn_torch
......@@ -13,7 +15,8 @@ def test_init():
assert pyronn_torch.cpp_extension
def test_projection():
@pytest.mark.parametrize('with_texture', ('with_texture', False))
def test_projection(with_texture):
projector = pyronn_torch.ConeBeamProjector.from_conrad_config()
volume = projector.new_volume_tensor()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment