Skip to content

Commit 0a026ad

Browse files
committed
Remove more references to Job.params
1 parent e8e5e0f commit 0a026ad

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

lib/galaxy/jobs/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,8 +1048,6 @@ def __init__(
10481048
self._job_io = None
10491049
self.tool_provided_job_metadata = None
10501050
self.params = None
1051-
if job.params:
1052-
self.params = loads(job.params)
10531051
self.runner_command_line = None
10541052

10551053
# Wrapper holding the info required to restore and clean up from files used for setting metadata externally

lib/galaxy/tools/actions/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
Mapping,
88
MutableMapping,
99
)
10-
from json import dumps
1110
from typing import (
1211
Any,
1312
cast,
@@ -738,8 +737,6 @@ def handle_output(name, output, hidden=None):
738737
# execute immediate post job actions and associate post job actions that are to be executed after the job is complete
739738
if job_callback:
740739
job_callback(job)
741-
if job_params:
742-
job.params = dumps(job_params)
743740
if completed_job:
744741
job.set_copied_from_job_id(completed_job.id)
745742
trans.sa_session.add(job)

lib/galaxy/tools/actions/metadata.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import logging
22
import os
3-
from json import dumps
43
from typing import (
54
Any,
65
Optional,
@@ -144,8 +143,6 @@ def execute_via_app(
144143
job.tool_id = tool.id
145144
if user:
146145
job.user_id = user.id
147-
if job_params:
148-
job.params = dumps(job_params)
149146
start_job_state = job.state # should be job.states.NEW
150147
try:
151148
# For backward compatibility, some tools may not have versions yet.

0 commit comments

Comments
 (0)