Are the technology ontology labels all eligible based on SCEA criteria and the intended functionality of the script?
Raise an assertion error if 1 or more technology types are not eligible.
Expected error message: "AssertionError: 1 or more technology types are not eligible. Please remove ineligible technologies and their linked samples and try again."
Is there more than 1 unique technology ontology label in the dataset?
If more than 1 technology type, raise an assertion error.
Expected error message: "AssertionError: Only 1 technology type is allowed per SCEA E-HCAD id. Please split the dataset by the technology type and run them separately."
Added a function which checks the following:
Are the technology ontology labels all eligible based on SCEA criteria and the intended functionality of the script? Raise an assertion error if 1 or more technology types are not eligible. Expected error message: "AssertionError: 1 or more technology types are not eligible. Please remove ineligible technologies and their linked samples and try again."
Is there more than 1 unique technology ontology label in the dataset? If more than 1 technology type, raise an assertion error. Expected error message: "AssertionError: Only 1 technology type is allowed per SCEA E-HCAD id. Please split the dataset by the technology type and run them separately."
Tested the changes on test cases 01-06 listed here: https://docs.google.com/spreadsheets/d/1i6nG6I-Sc9VS2Z_6Hz0ErRidxU8Ui6iCFBnB0CzncMA/edit#gid=0 The expected error messages are raised as intended.