Skip to content

Commit

Permalink
Fix minor regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
nx10 committed Nov 2, 2023
1 parent 5897713 commit de09c38
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mrirage"
version = "0.1.0"
version = "0.1.1"
authors = ["Florian Rupprecht <[email protected]>"]
license = "MIT"
description = "MRI visualization"
Expand Down
35 changes: 32 additions & 3 deletions src/mrirage/composition/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,35 @@
from .composition import Composition, Style
from .composition import Composition
from .grid import CompositionGrid
from .layer import Layer
from .layer import (
Layer,
LayerCoordinate,
LayerCross,
LayerCrossOrigin,
LayerLine,
LayerLR,
LayerVoxel,
LayerVoxelGlass,
ColorScale,
ColorScaleFromName,
ColorScaleSolid,
Style,
)
from .view import View

__all__ = ["Composition", "CompositionGrid", "Layer", "Style", "View"]
__all__ = [
"Composition",
"CompositionGrid",
"Style",
"View",
"Layer",
"LayerCoordinate",
"LayerCross",
"LayerCrossOrigin",
"LayerLine",
"LayerLR",
"LayerVoxel",
"LayerVoxelGlass",
"ColorScale",
"ColorScaleFromName",
"ColorScaleSolid",
]
1 change: 0 additions & 1 deletion src/mrirage/composition/view/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def __init__(
self.axis = axis

def render(self, layers: List[Layer], plt_ax: plt.Axes) -> None:
assert self.bounds is not None
for layer in layers:
layer.view_render(
plt_ax=plt_ax,
Expand Down

0 comments on commit de09c38

Please sign in to comment.