Skip to content

Commit 0450eb3

Browse files
Sourcing instead of importing test file in README.
1 parent e575edc commit 0450eb3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/source/_static/README.qmd

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,11 @@ To train the model you need to provide three datasets. Two datasets should conta
4343
#| label: data-setup
4444
#| include: false
4545
46-
import os
47-
import sys
48-
sys.path.append("../../../")
49-
import test
46+
with open("../../../test/__init__.py", "r") as ifh:
47+
exec(ifh.read())
5048
5149
def prepare_data():
52-
return test.left, test.right, test.matches
50+
return left, right, matches
5351
```
5452

5553
```{python}

0 commit comments

Comments
 (0)