Skip to content

Commit

Permalink
Add inputusecaseid param to avoid having to embed case IDs in the bat…
Browse files Browse the repository at this point in the history
…ch file
  • Loading branch information
mcraig-ibme committed Apr 6, 2023
1 parent b34a331 commit 68c66d2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions quantiphyse/utils/batch.py
Expand Up @@ -418,8 +418,10 @@ def __init__(self, case_id, params):
if params is None:
params = {}
self.params = params
# This would break compatibility so not for now
#self.params["InputId"] = self.params.get("InputId", self.case_id)
# Include the case ID as a subfolder of the input folder if
# InputUseCaseId is set to True
if self.params.get("InputUseCaseId", False):
self.params["InputId"] = self.case_id

class BatchScript(Script):
"""
Expand Down

0 comments on commit 68c66d2

Please sign in to comment.