File tree Expand file tree Collapse file tree 2 files changed +1
-34
lines changed
src/macaron/output_reporter Expand file tree Collapse file tree 2 files changed +1
-34
lines changed Original file line number Diff line number Diff line change @@ -119,10 +119,6 @@ def get_dict(self) -> dict:
119
119
result = {
120
120
"metadata" : {
121
121
"timestamps" : datetime .now ().isoformat (sep = " " , timespec = "seconds" ),
122
- "component" : {
123
- "config_target_path" : self .pre_config .options .get ("path" , "" ),
124
- "summary" : self .get_summary (),
125
- },
126
122
},
127
123
"target" : self .context .get_dict () if self .context else {},
128
124
"dependencies" : self .get_dep_summary (),
Original file line number Diff line number Diff line change 115
115
{% endcall %}
116
116
{%- endmacro -%}
117
117
118
- {#
119
- Render the status for the target.
120
- #}
121
- {%- macro render_target_metadata(target_metadata) -%}
122
- {% call macaron_macros.render_table(class="target_info", has_header=false) %}
123
- {% for key, value in target_metadata.summary | items %}
124
- < tr >
125
- < th >
126
- {{ key | replace("_", " ") | capitalize }}
127
- </ th >
128
- {% if key == "status" %}
129
- < td class ={{ value | get_dep_status_color }} > {{ value.value }}</ td >
130
- {% elif key == "report" %}
131
- {# We ignore this field. #}
132
- {% else %}
133
- < td >
134
- {{ value }}
135
- </ td >
136
- {% endif %}
137
- </ tr >
138
- {% endfor %}
139
- {% endcall %}
140
- {%- endmacro -%}
141
-
142
118
{# -------------------------------------------- #}
143
119
144
120
{#
193
169
{% else %}
194
170
195
171
< div id = "prov_justification ">
196
- {% if metadata.component.config_target_path == "" %}
197
- The analysis cannot complete because the target is not available.
198
- {% else %}
199
- The analysis for the target at {{ metadata.component.config_target_path }} is not successful.
200
- {% endif %}
172
+ The results for the main target component is not available.
201
173
</ div >
202
- {{ render_target_metadata(metadata.component) }}
203
174
204
175
{% endif %}
205
176
You can’t perform that action at this time.
0 commit comments