Skip to content

Commit

Permalink
Fix displayData
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoLaval committed Jul 3, 2024
1 parent 103e9b9 commit 838fa29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/fr/insee/trevas/jupyter/VtlKernel.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private static void showDataset(Dataset dataset) {

public static Object showMetadata(Object o) {
if (o instanceof Dataset) {
displayData.putText(DatasetUtils.datasetMetadataToDisplay((Dataset) o));
displayData.putHTML(DatasetUtils.datasetMetadataToDisplay((Dataset) o));
} else {
displayData.putText(o.toString());
}
Expand Down Expand Up @@ -169,7 +169,7 @@ public static void runSDMXPreview(String path) {
.append(DatasetUtils.datasetMetadataToDisplay(v));
});

displayData.putText(result.toString());
displayData.putHTML(result.toString());
}

public static void runSDMX(String path, Map<String, String> data) {
Expand Down Expand Up @@ -206,7 +206,7 @@ public static void runSDMX(String path, Map<String, String> data) {
.append(DatasetUtils.datasetToDisplay(v));
});

displayData.putText(result.toString());
displayData.putHTML(result.toString());
}

public static void getTransformationsVTL(String path) {
Expand Down

0 comments on commit 838fa29

Please sign in to comment.