Quellcode durchsuchen

bugfix for hpc queue checking

Avik Datta vor 4 Jahren
Ursprung
Commit
dcad01d34b
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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()