Skip to content

Commit

Permalink
0.3.56, add KLayout 0.28 check
Browse files Browse the repository at this point in the history
Former-commit-id: f3cd81f
  • Loading branch information
lukasc-ubc committed Oct 10, 2023
1 parent 94e2d0c commit fe3bb9b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion klayout/EBeam/pymacros/SiEPIC_EBeam_Library.lym
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,17 @@ import os
import pathlib
import sys


from SiEPIC._globals import KLAYOUT_VERSION, KLAYOUT_VERSION_3
if KLAYOUT_VERSION < 28:
question = pya.QMessageBox()
question.setStandardButtons(pya.QMessageBox.Ok)
question.setText("SiEPIC-EBeam is no longer compatible with older versions (<0.28) of KLayout.")
KLayout_link0='https://www.klayout.de/build.html'
question.setInformativeText("\nSiEPIC-EBeam is no longer compatible with older versions (<0.28) of KLayout.\nPlease download an install the highest version of 0.28.x, from %s" % (KLayout_link0))
pya.QMessageBox_StandardButton(question.exec_())


dir_path = os.path.dirname(os.path.realpath(__file__))
if dir_path not in sys.path:
sys.path.append(dir_path)
Expand Down Expand Up @@ -158,7 +169,7 @@ class SiEPIC_EBeam_Library(Library):
print("Initializing '%s' Library." % library)

# Set the description
self.description = "v0.3.55, Components with models"
self.description = "v0.3.56, Components with models"

# Save the path, used for loading WAVEGUIDES.XML
import os
Expand Down
2 changes: 1 addition & 1 deletion klayout/grain.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<salt-grain>
<name>siepic_ebeam_pdk</name>
<version>0.3.55</version>
<version>0.3.56</version>
<api-version>0.27</api-version>
<title>SiEPIC EBeam PDK</title>
<doc>A Process Design Kit for Silicon Photonics fabricated using Electron Beam Lithography (UW, ANT, SiEPICfab)</doc>
Expand Down

0 comments on commit fe3bb9b

Please sign in to comment.