Skip to content

Commit

Permalink
refactor: use call module located in REISE
Browse files Browse the repository at this point in the history
  • Loading branch information
rouille committed Apr 7, 2020
1 parent fa3769e commit df96f02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions powersimdata/scenario/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ def launch_simulation(self):
print("--> Launching simulation on server")
username = os.getlogin()
cmd = ['ssh', username+'@'+const.SERVER_ADDRESS,
'export PYTHONPATH="/home/EGM/v2/PreREISE/:$PYTHONPATH";',
'export PYTHONPATH="/home/EGM/v2/REISE/utility/:$PYTHONPATH";',
'python3',
'/home/EGM/v2/PreREISE/prereise/call/call.py',
'/home/EGM/v2/REISE/utility/call.py',
self._scenario_info['id']]
process = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE)
print("PID: %s" % process.pid)
Expand Down

0 comments on commit df96f02

Please sign in to comment.