Skip to content

Commit 3975720

Browse files
committed
Don't delete feature parameter if data_param is "feature"
1 parent 7f107a7 commit 3975720

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/report_compiler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ def compile_report(self, report_filename, fill_params, tmpdir, resources, permit
217217
elif fill_params.get("feature") is not None:
218218
fill_params[data_param] = fill_params["feature"].split(",")
219219
self.logger.info("Changed feature=%s to %s=%s" % (fill_params["feature"], data_param, fill_params[data_param]))
220-
del fill_params["feature"]
220+
if data_param != "feature":
221+
del fill_params["feature"]
221222
elif fill_params.get(data_param) is not None:
222223
# data_param is expected to be an array
223224
fill_params[data_param] = [fill_params[data_param]]

0 commit comments

Comments
 (0)