Skip to content

Commit

Permalink
updated xdot error message for spack users
Browse files Browse the repository at this point in the history
  • Loading branch information
lee218llnl committed Apr 30, 2021
1 parent 91872f9 commit a4a8de7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/STATGUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
try:
import xdot
except:
raise Exception('STATview requires xdot\nxdot can be downloaded from https://github.com/jrfonseca/xdot.py\n')
raise Exception('STATview requires xdot\nxdot can be downloaded from https://github.com/jrfonseca/xdot.py\nWhen installing STAT via Spack, please be sure to `spack activate py-xdot`')
try:
# xdot 0.9: compatibility wrapper
xdot_ui_actions = xdot.ui.actions
Expand Down
2 changes: 1 addition & 1 deletion scripts/STATview.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
try:
import xdot
except:
raise Exception('STATview requires xdot\nxdot can be downloaded from https://github.com/jrfonseca/xdot.py\n')
raise Exception('STATview requires xdot\nxdot can be downloaded from https://github.com/jrfonseca/xdot.py\nWhen installing STAT via Spack, please be sure to `spack activate py-xdot`')
# old xdot vs new xdot compatibility wrapper
try:
xdot_ui_actions = xdot.ui.actions
Expand Down

0 comments on commit a4a8de7

Please sign in to comment.