Skip to content

Commit

Permalink
Merge pull request #24 from mskcc/2.1.2
Browse files Browse the repository at this point in the history
2.1.2
  • Loading branch information
nikhil authored Sep 17, 2019
2 parents b957de1 + b16ad28 commit 0870893
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion bin/track_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,7 @@ def check_stats(self):
logger = self.logger
stats_file_list = self.job_store_obj.getStatsFiles()
for single_stats_path in stats_file_list:
if os.path.exists(single_stats_path):
try:
with open(single_stats_path, 'rb') as single_file:
single_stats_data = json.load(single_file)
if 'jobs' in single_stats_data:
Expand All @@ -1575,6 +1575,8 @@ def check_stats(self):
if single_worker_obj["job_stream"].split("/")[2] == single_job_stream_path.split("/")[2]:
single_worker_obj["job_memory"] = single_job['memory']
single_worker_obj["job_cpu"] = single_job['clock']
except IOError:
continue

def check_jobs(self,track_job_flag):
logger = self.logger
Expand Down
2 changes: 1 addition & 1 deletion config.core.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 2.1.1
version: 2.1.2
root: /ifs/work/pi/roslin-core
mongo:
host: "pitchfork.mskcc.org"
Expand Down

0 comments on commit 0870893

Please sign in to comment.