Skip to content

Commit 7bb22a9

Browse files
authored
Merge pull request #704 from MannLabs/fix_e2e_slurm
Fix e2e slurm
2 parents 4d5ff9c + 55b3567 commit 7bb22a9

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,18 @@ In case of issues, check out the following:
176176
* [Issues](https://github.com/MannLabs/alphadia/issues): Try a few different search terms to find out if a similar problem has been encountered before
177177
* [Discussions](https://github.com/MannLabs/alphadia/discussions): Check if your problem or feature requests has been discussed before.
178178

179+
### Problem: Error when downloading the peptdeep pretrained models
180+
If on startup you receive an error like
181+
`FileNotFoundError: [Errno 2] No such file or directory: '<some_directory>/peptdeep/pretrained_models'`,
182+
it could be due to missing write permissions on `<some_directory>`.
183+
184+
#### Solution
185+
For now, you need to create this directory yourself and manually download the file
186+
```
187+
mkdir -p <some_directory>/peptdeep/pretrained_models && cd <some_directory>/peptdeep/pretrained_models
188+
wget https://github.com/MannLabs/alphapeptdeep/releases/download/pre-trained-models/pretrained_models.zip
189+
```
190+
179191
---
180192
## Citations
181193

tests/e2e_tests/calc_metrics.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
import matplotlib.pyplot as plt
1313
import pandas as pd
1414

15-
from tests.e2e_tests.prepare_test_data import OUTPUT_DIR_NAME, get_test_case
15+
try:
16+
from tests.e2e_tests.prepare_test_data import OUTPUT_DIR_NAME, get_test_case
17+
except ModuleNotFoundError:
18+
from prepare_test_data import OUTPUT_DIR_NAME, get_test_case
1619

1720
try:
1821
import neptune

0 commit comments

Comments
 (0)