Skip to content

Commit b779a0d

Browse files
authored
do not show 'not computed' callout if node is a var (#1948)
1 parent c2804c3 commit b779a0d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

skrub/_data_ops/_inspection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ def make_url(node):
236236
node_description=node._skrub_impl.description,
237237
node_name=node._skrub_impl.name,
238238
node_type=node._skrub_impl.__class__.__name__,
239+
is_var=isinstance(node._skrub_impl, Var),
239240
svg=svg,
240241
node_status=node_status,
241242
estimator_html_repr=estimator_html_repr,

skrub/_reporting/_data/templates/data_ops/node.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ <h3>Estimator fitted in this step:</h3>
9090
<div>
9191
<h2>Output of this step</h2>
9292

93-
{% if env_key is not none %}
93+
{% if env_key is not none and not is_var %}
9494
<div class="is-skipped-message">
9595
<h3>This value was provided, not computed</h3>
9696
This step was not executed because its value was supplied directly in the input data

0 commit comments

Comments
 (0)