Skip to content

Commit a2941eb

Browse files
committed
Merge branch 'adi611-patch-testpsij-1' of https://github.com/adi611/pydra into adi611-patch-testpsij-1
2 parents 789800e + 7a70c18 commit a2941eb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pydra/engine/workers.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -911,12 +911,14 @@ def __init__(self, subtype, **kwargs):
911911
raise
912912
logger.debug("Initialize PsijWorker")
913913
self.psij = psij
914-
914+
915915
# Check if the provided subtype is valid
916916
valid_subtypes = ["local", "slurm"]
917917
if subtype not in valid_subtypes:
918-
raise ValueError(f"Invalid 'subtype' provided. Available options: {', '.join(valid_subtypes)}")
919-
918+
raise ValueError(
919+
f"Invalid 'subtype' provided. Available options: {', '.join(valid_subtypes)}"
920+
)
921+
920922
self.subtype = subtype
921923

922924
def run_el(self, interface, rerun=False, **kwargs):

0 commit comments

Comments
 (0)