Skip to content

Commit bfe4356

Browse files
committed
Update pbs.py
1 parent ecc93b2 commit bfe4356

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

dpdispatcher/machines/pbs.py

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717

1818

1919
class PBS(Machine):
20+
def __init__(self, **kwargs):
21+
super().__init__(**kwargs)
22+
2023
def gen_script(self, job):
2124
pbs_script = super().gen_script(job)
2225
return pbs_script
@@ -188,24 +191,8 @@ def gen_script_header(self, job):
188191

189192

190193
class SGE(PBS):
191-
def __init__(
192-
self,
193-
batch_type=None,
194-
context_type=None,
195-
local_root=None,
196-
remote_root=None,
197-
remote_profile={},
198-
*,
199-
context=None,
200-
):
201-
super(PBS, self).__init__(
202-
batch_type,
203-
context_type,
204-
local_root,
205-
remote_root,
206-
remote_profile,
207-
context=context,
208-
)
194+
def __init__(self, **kwargs):
195+
super().__init__(**kwargs)
209196

210197
def gen_script_header(self, job):
211198
### Ref:https://softpanorama.org/HPC/PBS_and_derivatives/Reference/pbs_command_vs_sge_commands.shtml

0 commit comments

Comments
 (0)