Skip to content

Commit

Permalink
Set name of SGE jobs to match user-provided name
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Jul 14, 2023
1 parent e6faf08 commit f8471b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/cryptosite/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ def run_allosmod(self):
r.set_sge_options(
'-l arch=lx-amd64 -l scratch=2G -l mem_free=6G -t 1-25 '
'-l h_rt=96:00:00')
r.set_sge_name(self.name)
self.logger.info("Calculated pockets for AllosMod results")

Stage.write('AllosMod-bmi')
Expand All @@ -188,6 +189,7 @@ def run_allosmod_bmi(self):
r = self.runnercls(script)
r.set_sge_options(
'-l arch=lx-amd64 -l scratch=2G -l mem_free=2G -l h_rt=96:00:00')
r.set_sge_name(self.name)

self.logger.info("Prediction DONE!")

Expand Down Expand Up @@ -231,6 +233,7 @@ def run_first(self):
r = self.runnercls(script)
r.set_sge_options(
'-l arch=lx-amd64 -l scratch=2G -l mem_free=2G -l h_rt=96:00:00')
r.set_sge_name(self.name)

self.logger.info("Calculated bioinformatics features for job: %s"
% rfil)
Expand Down

0 comments on commit f8471b9

Please sign in to comment.