Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Alphafold3
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RC Data Science
community-containers
Alphafold3
Commits
1d3e173b
Commit
1d3e173b
authored
7 months ago
by
Augustin Zidek
Browse files
Options
Downloads
Patches
Plain Diff
Display a user-friendly warning if curl or zstd are missing
PiperOrigin-RevId: 696440060
parent
bd9cd55b
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Cloned AlphaFold 3 repo into this one
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fetch_databases.py
+6
-0
6 additions, 0 deletions
fetch_databases.py
with
6 additions
and
0 deletions
fetch_databases.py
+
6
−
0
View file @
1d3e173b
...
...
@@ -19,6 +19,7 @@ import concurrent.futures
import
functools
import
os
import
pathlib
import
shutil
import
subprocess
import
sys
...
...
@@ -105,6 +106,11 @@ def main(argv=('',)) -> None:
f
'
{
destination
}
.
'
)
from
e
if
shutil
.
which
(
'
curl
'
)
is
None
:
raise
ValueError
(
'
curl is not installed. Please install it and try again.
'
)
if
shutil
.
which
(
'
zstd
'
)
is
None
:
raise
ValueError
(
'
zstd is not installed. Please install it and try again.
'
)
# Download each of the files and decompress them in parallel.
with
concurrent
.
futures
.
ThreadPoolExecutor
(
max_workers
=
len
(
DATABASE_FILES
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment