Problem with tabs occuring in a description field is fixed;
@@ -218,19 +218,22 @@ public class ProjectParametersSetupDialogController {
return;
}
+ // it's important to replace tabs due to the tsv file format
+ String parameterDescriptionVal = parameterDescription.getValue().replace("\t", " ");
+
// add the new column to the parameters table
switch (AvailableTypes.valueOf(parameterType.getValue())) {
case TEXT -> {
metadataTable.addColumn(
- new StringMetadataColumn(parameterTitle.getValue(), parameterDescription.getValue()));
+ new StringMetadataColumn(parameterTitle.getValue(), parameterDescriptionVal));
}
case DOUBLE -> {
metadataTable.addColumn(
- new DoubleMetadataColumn(parameterTitle.getValue(), parameterDescription.getValue()));
+ new DoubleMetadataColumn(parameterTitle.getValue(), parameterDescriptionVal));
}
case DATETIME -> {
metadataTable.addColumn(
- new DateMetadataColumn(parameterTitle.getValue(), parameterDescription.getValue()));
+ new DateMetadataColumn(parameterTitle.getValue(), parameterDescriptionVal));
}
}
// need to render
