Jelajahi Sumber

bugfix for hpc queue checking

Avik Datta 4 tahun lalu
induk
melakukan
dcad01d34b
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      igf_airflow/hpc_queue.py

+ 1 - 1
igf_airflow/hpc_queue.py

@@ -15,7 +15,7 @@ def get_pbspro_job_count(job_name_prefix=''):
     with TemporaryFile() as tmp_file:
       subprocess.\
         check_call(
-          ['qstat','-f','-F','json'],
+          ['qstat','-t','-f','-F','json'],
           stdout=tmp_file)
       tmp_file.seek(0)
       json_data = tmp_file.read()