Skip to content
Snippets Groups Projects
Commit 6b1dd433 authored by Mads M. Pedersen's avatar Mads M. Pedersen
Browse files

fixed issue in simulation_resources.py

parent f5fe0fb0
No related branches found
No related tags found
No related merge requests found
......@@ -204,9 +204,13 @@ class SimulationThread(Thread):
class PBSClusterSimulationResource(SSHPBSClusterResource):
def __init__(self, host, username, password, port, min_cpu, min_free, init_cmd, wine_cmd, python_cmd):
SSHPBSClusterResource.__init__(self, host, username, password, port, min_cpu, min_free, init_cmd, wine_cmd, python_cmd)
def __init__(self, sshclient, min_cpu, min_free, init_cmd, wine_cmd, python_cmd):
SSHPBSClusterResource.__init__(self, sshclient, min_cpu, min_free)
self.init_cmd = init_cmd
self.wine_cmd = wine_cmd
self.python_cmd = python_cmd
def is_clean(self):
return self.execute("find .hawc2launcher/ -type f | wc -l")[1] > 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment