SGE defaults
1 unresolved thread
1 unresolved thread
Compare changes
+ 6
− 5
@@ -37,7 +37,7 @@ class SGEIdiapJob(Job):
@@ -278,6 +278,7 @@ class SGEMultipleQueuesCluster(JobQueueCluster):
@@ -289,7 +290,7 @@ class SGEMultipleQueuesCluster(JobQueueCluster):
@@ -445,9 +446,9 @@ class SchedulerResourceRestriction(Scheduler):
why not use bob.extension.rc for this?
RC should be optional
something like
project = rc["bob.pipelines.sge-project"] if rc["bob.pipelines.sge-project"] else None
Python already provides something cleaner:
By default get returns None but you can either put it explicitly or any other sensible defaults. That is unless you expect the content matching that key to be "falsy".
I think you can also name the key just
sge.project
as it may become relevant in other bob packages.