@@ -36,21 +36,15 @@ def dataset_builder_repr_html(builder: "MDIODatasetBuilder") -> str:
3636 "font-family: monospace; border: 1px solid rgba(128, 128, 128, 0.3); "
3737 "border-radius: 5px; padding: 15px; max-width: 1000px;"
3838 )
39- header_style = (
40- "padding: 10px; margin: -15px -15px 15px -15px; border-bottom: 2px solid rgba(128, 128, 128, 0.3);"
41- )
39+ header_style = "padding: 10px; margin: -15px -15px 15px -15px; border-bottom: 2px solid rgba(128, 128, 128, 0.3);"
4240 summary_style = "cursor: pointer; font-weight: bold; margin-bottom: 8px;"
4341 summary_style_2 = "cursor: pointer; font-weight: bold; margin: 15px 0 8px 0;"
4442
45- no_dims = (
46- '<tr><td colspan="2" style="padding: 8px; opacity: 0.5; text-align: left;">No dimensions added</td></tr>' # noqa: E501
47- )
43+ no_dims = '<tr><td colspan="2" style="padding: 8px; opacity: 0.5; text-align: left;">No dimensions added</td></tr>' # noqa: E501
4844 no_coords = (
4945 '<tr><td colspan="3" style="padding: 8px; opacity: 0.5; text-align: left;">No coordinates added</td></tr>' # noqa: E501
5046 )
51- no_vars = (
52- '<tr><td colspan="3" style="padding: 8px; opacity: 0.5; text-align: left;">No variables added</td></tr>' # noqa: E501
53- )
47+ no_vars = '<tr><td colspan="3" style="padding: 8px; opacity: 0.5; text-align: left;">No variables added</td></tr>' # noqa: E501
5448
5549 return f"""
5650 <div style="{ box_style } ">
@@ -155,9 +149,7 @@ def template_repr_html(template: "AbstractDatasetTemplate") -> str:
155149 "font-family: monospace; border: 1px solid rgba(128, 128, 128, 0.3); "
156150 "border-radius: 5px; padding: 15px; max-width: 1000px;"
157151 )
158- header_style = (
159- "padding: 10px; margin: -15px -15px 15px -15px; border-bottom: 2px solid rgba(128, 128, 128, 0.3);"
160- )
152+ header_style = "padding: 10px; margin: -15px -15px 15px -15px; border-bottom: 2px solid rgba(128, 128, 128, 0.3);"
161153 summary_style = "cursor: pointer; font-weight: bold; margin-bottom: 8px;"
162154 summary_style_2 = "cursor: pointer; font-weight: bold; margin: 15px 0 8px 0;"
163155
@@ -167,9 +159,7 @@ def template_repr_html(template: "AbstractDatasetTemplate") -> str:
167159 no_coords = (
168160 '<tr><td colspan="3" style="padding: 8px; opacity: 0.5; text-align: left;">No coordinates defined</td></tr>' # noqa: E501
169161 )
170- no_units = (
171- '<tr><td colspan="2" style="padding: 8px; opacity: 0.5; text-align: left;">No units defined</td></tr>' # noqa: E501
172- )
162+ no_units = '<tr><td colspan="2" style="padding: 8px; opacity: 0.5; text-align: left;">No units defined</td></tr>' # noqa: E501
173163
174164 return f"""
175165 <div style="{ box_style } ">
0 commit comments