Commit 03a2991
committed
feat: Integrate Excel support with SamplesheetConverter
Integrates WorkbookConverter with existing nf-schema pipeline:
Integration Points:
- SamplesheetConverter: Added Excel file detection and processing flow
- Utils.getFileType(): Extended to recognize Excel file extensions
- Seamless fallback to WorkbookConverter for Excel formats
Processing Flow:
1. File type detection identifies Excel formats (xlsx, xlsm, xlsb, xls)
2. WorkbookConverter processes Excel data to List<Map<String,Object>> format
3. Data flows through existing validation and channel formatting pipeline
4. Full compatibility with JSON schema validation
5. Maintains all existing CSV/TSV/JSON/YAML functionality
Features:
- Transparent Excel processing - users can use Excel files directly
- Sheet selection support via options parameter
- Proper error handling and validation messages
- Zero impact on existing functionality
Addresses GitHub issue #177: Users can now use Excel workbooks directly
without manual conversion to CSV format.1 parent 39eadff commit 03a2991
File tree
1 file changed
+25
-3
lines changed- plugins/nf-schema/src/main/nextflow/validation
1 file changed
+25
-3
lines changedLines changed: 25 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
88 | 112 | | |
89 | 113 | | |
90 | | - | |
91 | 114 | | |
92 | 115 | | |
93 | 116 | | |
94 | 117 | | |
95 | 118 | | |
96 | 119 | | |
97 | 120 | | |
98 | | - | |
| 121 | + | |
99 | 122 | | |
100 | | - | |
101 | 123 | | |
102 | 124 | | |
103 | 125 | | |
| |||
0 commit comments