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
a46f1b12
Commit
a46f1b12
authored
Feb 04, 2022
by
Gustaf Ahdritz
Browse files
Revert changes to mmcif cache gen script
parent
7f9f5326
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
README.md
README.md
+1
-1
scripts/generate_mmcif_cache.py
scripts/generate_mmcif_cache.py
+2
-1
No files found.
README.md
View file @
a46f1b12
...
@@ -181,7 +181,7 @@ files, we provide `scripts/data_dir_to_fasta.py`.
...
@@ -181,7 +181,7 @@ files, we provide `scripts/data_dir_to_fasta.py`.
Next, generate a cache of certain datapoints in the mmCIF files:
Next, generate a cache of certain datapoints in the mmCIF files:
```
bash
```
bash
python3 scripts/generate_
prot_data
_cache.py
\
python3 scripts/generate_
mmcif
_cache.py
\
mmcif_dir/
\
mmcif_dir/
\
mmcif_cache.json
\
mmcif_cache.json
\
--no_workers
16
--no_workers
16
...
...
scripts/generate_
prot_data
_cache.py
→
scripts/generate_
mmcif
_cache.py
View file @
a46f1b12
import
argparse
import
argparse
from
functools
import
partial
from
functools
import
partial
import
json
import
logging
import
logging
from
multiprocessing
import
Pool
from
multiprocessing
import
Pool
import
os
import
os
import
sys
import
sys
import
json
sys
.
path
.
append
(
"."
)
# an innocent hack to get this to run from the top level
sys
.
path
.
append
(
"."
)
# an innocent hack to get this to run from the top level
from
tqdm
import
tqdm
from
tqdm
import
tqdm
...
...
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