-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There were quite a few changes because warnings became errors in a lot of tests. isa_tab/validate/test_core.py test_b_ii_s_3: The old warnings were: [{'message': 'Protocol declared but not used', 'supplemental': "protocols declared in the file s_BII-S-3.txt are not used in any assay file: {'sequence analysis - standard procedure 7', 'reverse transcription - standard procedure 5'}", 'code': 1019}, {'message': 'DOI is not valid format', 'supplemental': 'Found 10.1371/journal.pone.0003042 in DOI field', 'code': 3002}, {'message': 'DOI is not valid format', 'supplemental': 'Found 10.1111/j.1462-2920.2008.01745.x in DOI field', 'code': 3002}, {'message': 'A required property is missing', 'supplemental': 'A property value in Investigation Title of investigation file at column 1 is required', 'code': 4003}, {'message': 'A required property is missing', 'supplemental': 'A property value in Investigation Description of investigation file at column 1 is required', 'code': 4003}, {'message': 'A required property is missing', 'supplemental': 'A property value in Study Person Mid Initials of investigation file at column 2 is required', 'code': 4003}, {'message': 'A required property is missing', 'supplemental': 'A property value in Study Person Mid Initials of investigation file at column 3 is required', 'code': 4003}, {'message': 'A required property is missing', 'supplemental': 'A property value in Study Person Mid Initials of investigation file at column 4 is required', 'code': 4003}, {'message': 'A required property is missing', 'supplemental': 'A property value in Study Person Mid Initials of investigation file at column 5 is required', 'code': 4003}, {'message': 'A required property is missing', 'supplemental': 'A property value in Study Person Mid Initials of investigation file at column 6 is required', 'code': 4003}, {'message': 'A required property is missing', 'supplemental': 'A property value in Study Person Mid Initials of investigation file at column 7 is required', 'code': 4003}, {'message': 'A value does not correspond to the correct data type', 'supplemental': "Invalid value 'WGS' for type 'list' of the field 'Parameter Value[library strategy]'", 'code': 4011}] The required property warnings became errors. The other tests in this same file that were changed all had similar circumstances. test_clients/test_mw2isa.py test_conversion_ms: Required property warnings became errors, so I added their code, '4003', to the test. validators/test_validate_test_data test_validate_testdata_sra_chromatin_mod_seq_isatab: The following warnings became errors, so the test for 0 errors was broken: [{'message': 'A required property is missing', 'supplemental': 'A property value in Study Publication DOI of investigation file at column 1 is required', 'code': 4003}, {'message': 'A required property is missing', 'supplemental': 'A property value in Study Publication Author List of investigation file at column 1 is required', 'code': 4003}, {'message': 'A required property is missing', 'supplemental': 'A property value in Study Publication Title of investigation file at column 1 is required', 'code': 4003}] I changed the test to allow for more errors, but that might not be the best solution. All of the changed tests in this file had the same circumstances. convert/test_mzml2isa.py: The following warnings becamse errors: [{'message': 'A required property is missing', 'supplemental': 'A property value in Investigation Title of investigation file at column 1 is required', 'code': 4003}, {'message': 'A required property is missing', 'supplemental': 'A property value in Investigation Description of investigation file at column 1 is required', 'code': 4003}, {'message': 'A required property is missing', 'supplemental': 'A property value in Study Title of investigation file at column 1 is required', 'code': 4003}, {'message': 'A required property is missing', 'supplemental': 'A property value in Study Description of investigation file at column 1 is required', 'code': 4003}] This might suggest that there may be a problem with the converter if these values aren't being added.
- Loading branch information
Showing
4 changed files
with
31 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters