RakipInitiative / ModelRepository

Joint project of EFSA, Federal Institute For Risk Assessment, DTU and ANSES to create a online model repository.
GNU General Public License v3.0
2 stars 0 forks source link

FSK Joiner in WF from ICPMF11 workshop loads with errors #130

Open mfilter opened 4 years ago

mfilter commented 4 years ago

this is the error message I get using a KNIME 3.7.2 with the FSK-Lab from development update site under windows when opening the attached WF: ERROR LoadWorkflowRunnable Status: DataLoadError: ICPMF11_DemoWF3 4 ERROR LoadWorkflowRunnable Status: DataLoadError: FSK Joiner (deprecated) 4:5 ERROR LoadWorkflowRunnable Status: DataLoadError: Unable to load port content for node "FSK Joiner (deprecated)": Unrecognized field "eClass" (class de.bund.bfr.metadata.swagger.Parameter), not marked as ignorable (16 known properties: "unitCategory", "unit", "classification", "error", "name", "subject", "maxValue", "value", "id", "description", "minValue", "dataType", "reference", "source", "distribution", "variabilitySubject"]) ERROR LoadWorkflowRunnable at [Source: {"eClass":"http://BfR/bund/de/knime/model/metadata_V1.0.3#//Parameter","parameterID":"dose_dup","parameterClassification":"Output","parameterName":"dose_dup","parameterType":"Number","parameterUnit":"CFU","parameterUnitCategory":"Number","parameterDataType":"Double","parameterVariabilitySubject":"Variability in doses"}; line: 1, column: 12] (through reference chain: de.bund.bfr.metadata.swagger.Parameter["eClass"]) ERROR LoadWorkflowRunnable Status: DataLoadError: State has changed from EXECUTED to CONFIGURED ERROR LoadWorkflowRunnable Status: DataLoadError: FSK Simulation Configurator JS (deprecated) 4:8 ERROR LoadWorkflowRunnable Status: DataLoadError: Unable to load port content for node "FSK Simulation Configurator JS (deprecated)": Unrecognized field "eClass" (class de.bund.bfr.metadata.swagger.Parameter), not marked as ignorable (16 known properties: "unitCategory", "unit", "classification", "error", "name", "subject", "maxValue", "value", "id", "description", "minValue", "dataType", "reference", "source", "distribution", "variabilitySubject"]) ERROR LoadWorkflowRunnable at [Source: {"eClass":"http://BfR/bund/de/knime/model/metadata_V1.0.3#//Parameter","parameterID":"dose_dup","parameterClassification":"Output","parameterName":"dose_dup","parameterType":"Number","parameterUnit":"CFU","parameterUnitCategory":"Number","parameterDataType":"Double","parameterVariabilitySubject":"Variability in doses"}; line: 1, column: 12] (through reference chain: de.bund.bfr.metadata.swagger.Parameter["eClass"]) ERROR LoadWorkflowRunnable Status: DataLoadError: FSK Runner (deprecated) 4:9 ERROR LoadWorkflowRunnable Status: DataLoadError: Unable to load port content for node "FSK Runner (deprecated)": Unrecognized field "eClass" (class de.bund.bfr.metadata.swagger.Parameter), not marked as ignorable (16 known properties: "unitCategory", "unit", "classification", "error", "name", "subject", "maxValue", "value", "id", "description", "minValue", "dataType", "reference", "source", "distribution", "variabilitySubject"]) ERROR LoadWorkflowRunnable at [Source: {"eClass":"http://BfR/bund/de/knime/model/metadata_V1.0.3#//Parameter","parameterID":"dose_dup","parameterClassification":"Output","parameterName":"dose_dup","parameterType":"Number","parameterUnit":"CFU","parameterUnitCategory":"Number","parameterDataType":"Double","parameterVariabilitySubject":"Variability in doses"}; line: 1, column: 12] (through reference chain: de.bund.bfr.metadata.swagger.Parameter["eClass"]) ERROR LoadWorkflowRunnable Status: DataLoadError: FSK Runner (deprecated) 4:6 ERROR LoadWorkflowRunnable Status: DataLoadError: Unable to load port content for node "FSK Runner (deprecated)": Unrecognized field "eClass" (class de.bund.bfr.metadata.swagger.Parameter), not marked as ignorable (16 known properties: "unitCategory", "unit", "classification", "error", "name", "subject", "maxValue", "value", "id", "description", "minValue", "dataType", "reference", "source", "distribution", "variabilitySubject"]) ERROR LoadWorkflowRunnable at [Source: {"eClass":"http://BfR/bund/de/knime/model/metadata_V1.0.3#//Parameter","parameterID":"dose_dup","parameterClassification":"Output","parameterName":"dose_dup","parameterType":"Number","parameterUnit":"CFU","parameterUnitCategory":"Number","parameterDataType":"Double","parameterVariabilitySubject":"Variability in doses"}; line: 1, column: 12] (through reference chain: de.bund.bfr.metadata.swagger.Parameter["eClass"]) ERROR LoadWorkflowRunnable Status: DataLoadError: State has changed from EXECUTED to CONFIGURED

https://app.zenhub.com/files/241333403/167a01df-0a51-4808-b0f9-19dd6b88226f/download

schuelet commented 3 years ago

The workflow was most likely executed and saved with a model from schema version 1.03. To fix this issue, we would need to apply a conversion method to the deprecated (1.7.2) Joiner, that converts metadata from schema 1.03 to schema 1.04. We only ever did conversions for the Reader node and hardcoded the javaScript views.