Explorar el Código

bugfix for hpc queue checking

Avik Datta hace 4 años
padre
commit
dcad01d34b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()