Skip to content

Commit

Permalink
exit status for script
Browse files Browse the repository at this point in the history
  • Loading branch information
otvam committed Jun 6, 2023
1 parent 7e30560 commit c5a2e7d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/examples_png/png_gerber/kicad/run_gerber_png.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
__author__ = "Thomas Guillod"
__copyright__ = "(c) Thomas Guillod - Dartmouth College"

import sys
from pypeec.utils import gerber_png


Expand Down Expand Up @@ -66,3 +67,6 @@

# ######################## run
gerber_png.get_convert(data_export, data_gerber, data_stack)

# ######################## exit
sys.exit(0)
4 changes: 4 additions & 0 deletions examples/generate_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
__author__ = "Thomas Guillod"
__copyright__ = "(c) Thomas Guillod - Dartmouth College"

import sys
import os.path
from pypeec import io
from examples import examples_config
Expand Down Expand Up @@ -333,3 +334,6 @@ def get_data_plotter():
# create file
io.write_config(file_viewer, data_viewer)
io.write_config(file_plotter, data_plotter)

# exit
sys.exit(0)

0 comments on commit c5a2e7d

Please sign in to comment.