Skip to content

Commit

Permalink
Fix some syntax issues in windows.py to try to get docs to build on RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
bryancole committed Feb 6, 2021
1 parent d251512 commit 942dc97
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions raypier/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

from tvtk.api import tvtk

from .cfaces import CircularFace(Face)
from .cmaterials import DielectricMaterial, CoatedDispersiveMaterial
from .core.cfaces import CircularFace
from .core.cmaterials import CoatedDispersiveMaterial
from .dispersion import NamedDispersionCurve, NondispersiveCurve
from .bases import Optic, Traceable, NumEditor
from .ctracer import FaceList
from .core.ctracer import FaceList


class CircularWindow(Optic):
Expand Down Expand Up @@ -49,11 +49,11 @@ def _material_default(self):
def _faces_default(self):
fl = FaceList(owner=self)
fl.faces = [CircularFace(owner=self, diameter=self.diameter,
offset = self.offset, self.z_plane=0.0,
offset = self.offset, z_plane=0.0,
material = self.material),
CircularFace(owner=self, diameter=self.diameter,
material=self.material, offset=self.offset,
z_height=self.thickness)]
z_plane=self.thickness)]
return fl


0 comments on commit 942dc97

Please sign in to comment.