Quick fix to foundry_install.py to avoid having the script exit on an error if it tries to build a GDS library from an empty directory.
diff --git a/common/foundry_install.py b/common/foundry_install.py index c19098d..e3b5a5b 100755 --- a/common/foundry_install.py +++ b/common/foundry_install.py
@@ -2310,7 +2310,8 @@ # Load first file and remove the (UNNAMED) cell if not os.path.isfile(allgdslibname): - print('load ' + os.path.splitext(glist[0])[0], file=ofile) + if len(glist) > 0: + print('load ' + os.path.splitext(glist[0])[0], file=ofile) else: gdslibroot = os.path.split(allgdslibname)[1] print('load ' + os.path.splitext(gdslibroot)[0], file=ofile)