Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set psuade default location with shutil #1133

Merged
merged 3 commits into from
Apr 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion foqus_lib/framework/session/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,10 @@ def __init__(self):
self.working_dir = ""
self.new_working_dir = ""
self.simsinter_path = "C:/Program Files (x86)/CCSI/SimSinter"
self.psuade_path = "C:/Program Files (x86)/psuade_project 1.7.5/bin/psuade.exe"
self.psuade_path = (
shutil.which("psuade")
or "C:/Program Files (x86)/psuade_project 1.7.5/bin/psuade.exe"
)
self.turbConfig = "turbine.cfg"
self.turbConfigCluster = "turbine_aws.cfg"
self.alamo_path = ""
Expand Down