raiseException(f"Workflow {self.workflow_id} (invocation: {self.invocation_id}) is already running or in an intermediate state ({self.status.state}). Cannot start a new run.")
raiseException(
f"Workflow {self.workflow_id} (invocation: {self.invocation_id}) is already running or in an"
f"intermediate state ({self.status.state}). Cannot start a new run."
raiseValueError(f"Workflow input label '{label}' not found in workflow '{self.workflow_id}'. Available input labels: {list(label_to_input_id.keys())}")
raiseValueError(
f"Input label '{label}' not found in workflow '{self.workflow_id}'."
f" Available input labels: {list(label_to_input_id.keys())}"
)
ifnotvalue.id:
raiseValueError(f"Input dataset '{label}' must have an ID (must exist in Galaxy history). Upload it first if necessary.")
raiseValueError(f"Workflow input label '{label}' not found in workflow '{self.workflow_id}'. Available input labels: {list(label_to_input_id.keys())}")
raiseValueError(
f"Input label '{label}' not found in workflow '{self.workflow_id}'."
f" Available input labels: {list(label_to_input_id.keys())}"
)
ifnotvalue.id:
raiseValueError(f"Input dataset collection '{label}' must have an ID (must exist in Galaxy history).")
raiseValueError(f"Workflow step label '{label}' not found in workflow '{self.workflow_id}' for setting parameters. Available step labels: {list(label_to_step_id.keys())}")
raiseValueError(
f"Step label '{label}' not found in workflow "
"'{self.workflow_id}' for setting parameters. Available "
f"step labels: {list(label_to_step_id.keys())}"
)
bioblend_params[step_id]=value
else:
input_id=label_to_input_id.get(label)
step_id=label_to_step_id.get(label)
ifnotinput_idandnotstep_id:
print(f"Warning: Parameter '{label}' is not a Dataset, DatasetCollection, or a dictionary associated with a known step label. It will be ignored.")
print(
f"Warning: Parameter '{label}' is not a Dataset, DatasetCollection, "
"or dictionary associated with a known step label. It will be ignored."