Mercurial > repos > bimib > cobraxy
comparison COBRAxy/docs/troubleshooting.md @ 547:73f2f7e2be17 draft
Uploaded
| author | francesco_lapi |
|---|---|
| date | Tue, 28 Oct 2025 10:44:07 +0000 |
| parents | fcdbc81feb45 |
| children |
comparison
equal
deleted
inserted
replaced
| 546:01147e83f43c | 547:73f2f7e2be17 |
|---|---|
| 131 **Problem**: "File not found" errors | 131 **Problem**: "File not found" errors |
| 132 ```python | 132 ```python |
| 133 # Use absolute paths | 133 # Use absolute paths |
| 134 from pathlib import Path | 134 from pathlib import Path |
| 135 | 135 |
| 136 tool_dir = str(Path('/path/to/COBRAxy').absolute()) | |
| 137 input_file = str(Path('expression.tsv').absolute()) | 136 input_file = str(Path('expression.tsv').absolute()) |
| 138 | 137 |
| 139 args = ['-td', tool_dir, '-in', input_file, ...] | 138 args = ['-in', input_file, ...] |
| 140 ``` | 139 ``` |
| 141 | 140 |
| 142 **Problem**: Permission denied | 141 **Problem**: Permission denied |
| 143 ```bash | 142 ```bash |
| 144 # Check write permissions | 143 # Check write permissions |
| 315 | 314 |
| 316 with open('test_input.tsv', 'w') as f: | 315 with open('test_input.tsv', 'w') as f: |
| 317 f.write(test_data) | 316 f.write(test_data) |
| 318 | 317 |
| 319 # Test basic functionality | 318 # Test basic functionality |
| 320 ras_generator.main(['-td', tool_dir, '-in', 'test_input.tsv', | 319 ras_generator.main(['-in', 'test_input.tsv', |
| 321 '-ra', 'test_output.tsv', '-rs', 'ENGRO2']) | 320 '-ra', 'test_output.tsv', '-rs', 'ENGRO2']) |
| 322 ``` | 321 ``` |
| 323 | 322 |
| 324 ### Check Dependencies | 323 ### Check Dependencies |
| 325 | 324 |
| 360 | 359 |
| 361 ### Self-Help Checklist | 360 ### Self-Help Checklist |
| 362 | 361 |
| 363 Before reporting issues: | 362 Before reporting issues: |
| 364 | 363 |
| 365 - ✅ Checked this troubleshooting guide | 364 - Checked this troubleshooting guide |
| 366 - ✅ Verified installation completeness | 365 - Verified installation completeness |
| 367 - ✅ Tested with built-in example data | 366 - Tested with built-in example data |
| 368 - ✅ Searched existing GitHub issues | 367 - Searched existing GitHub issues |
| 369 - ✅ Tried alternative models/parameters | 368 - Tried alternative models/parameters |
| 370 - ✅ Checked file formats and permissions | 369 - Checked file formats and permissions |
| 371 | 370 |
| 372 ## Prevention Tips | 371 ## Prevention Tips |
| 373 | 372 |
| 374 ### Best Practices | 373 ### Best Practices |
| 375 | 374 |
