Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenFold
Commits
a3a27143
Commit
a3a27143
authored
Oct 20, 2021
by
Gustaf Ahdritz
Browse files
Add testing instructions to README
parent
aea444ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
README.md
README.md
+20
-0
No files found.
README.md
View file @
a3a27143
...
@@ -69,6 +69,26 @@ python3 run_pretrained_openfold.py --help
...
@@ -69,6 +69,26 @@ python3 run_pretrained_openfold.py --help
for a full list of options.
for a full list of options.
## Testing
To run unit tests, use
```
bash
scripts/run_unit_tests.sh
```
The script is a thin wrapper around Python's
`unittest`
suite, and recognizes
`unittest`
commands. E.g., to run a specific test verbosely:
```
bash
scripts/run_unit_tests.sh
-v
tests.test_model
```
Certain tests require that AlphaFold be installed in the same Python
environment. These run components of AlphaFold and OpenFold side by side and
ensure that output activations are adequately similar. For most modules, we
target a maximum difference of 1e-4.
## Copyright notice
## Copyright notice
While AlphaFold's and, by extension, OpenFold's source code is licensed under
While AlphaFold's and, by extension, OpenFold's source code is licensed under
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment