Closed jethror1 closed 2 years ago
Hello @jethror1! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Line 309:80: E501 line too long (89 > 79 characters)
Line 9:1: E402 module level import not at top of file Line 45:80: E501 line too long (84 > 79 characters) Line 53:80: E501 line too long (81 > 79 characters) Line 71:80: E501 line too long (80 > 79 characters) Line 75:80: E501 line too long (82 > 79 characters) Line 77:80: E501 line too long (80 > 79 characters) Line 81:80: E501 line too long (82 > 79 characters) Line 83:80: W292 no newline at end of file
Line 478:5: E303 too many blank lines (2)
Line 309:5: E303 too many blank lines (2)
Summary
Adds ability to pass in additional non-VCF files to be added as extra sheets in the workbook, will handle compressed files and infers file delimeter when reading so can handle commas, space, tabs etc.
Adds 2 new inputs to the DNAnexus app
--additional_files
- array of files to add--additional_sheet_names
- optional list of names for naming worksheetsNew functions
utils.determine_delimeter
- used to infer delimeter in file to correctly read in datavcf.read_additional_files
- used to read in given file(s) to dataframes for writing to workbookexcel.write_additional_files
- writes dataframes of files as appended sheets to workbooktest_utils.TestDetermineDelimeter()
- unit tests to show delimeters are correctly inferredTest jobs
Tests
New tests:
All tests:
This change is