Skip to content

Commit 7a70c18

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8f160a0 commit 7a70c18

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
@@ -909,12 +909,14 @@ def __init__(self, subtype, **kwargs):
909909
raise
910910
logger.debug("Initialize PsijWorker")
911911
self.psij = psij
912-
912+
913913
# Check if the provided subtype is valid
914914
valid_subtypes = ["local", "slurm"]
915915
if subtype not in valid_subtypes:
916-
raise ValueError(f"Invalid 'subtype' provided. Available options: {', '.join(valid_subtypes)}")
917-
916+
raise ValueError(
917+
f"Invalid 'subtype' provided. Available options: {', '.join(valid_subtypes)}"
918+
)
919+
918920
self.subtype = subtype
919921

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

0 commit comments

Comments
 (0)