Skip to content

Commit

Permalink
remove querying by job IDs support for SGE
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumChemist authored and gpetretto committed Jan 17, 2025
1 parent 66ab204 commit 3bae2f4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/qtoolkit/io/sge.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,10 @@ def _get_qstat_base_command(self) -> list[str]:
return ["qstat", "-ext", "-urg", "-xml"]

def _get_job_ids_flag(self, job_ids_str: str) -> str:
return f"-j {job_ids_str}"
raise NotImplementedError("Querying by job IDs is not supported for SGE.")

def _get_job_cmd(self, job_id: str):
cmd = f"qstat -j -xml {job_id}"
return cmd
raise NotImplementedError("Querying by job IDs is not supported for SGE.")

def parse_jobs_list_output(self, exit_code, stdout, stderr) -> list[QJob]:
if exit_code != 0:
Expand Down

0 comments on commit 3bae2f4

Please sign in to comment.