Update fetch_databases to use os.access to test permissions

PiperOrigin-RevId: 696093699
This commit is contained in:
Augustin Zidek
2024-11-13 13:29:43 +00:00
parent eabe102f94
commit 44e1fd572a
6 changed files with 23 additions and 19 deletions

View File

@@ -270,7 +270,7 @@ docker run -it \
--volume <DATABASES_DIR>:/root/public_databases \
--gpus all \
alphafold3 \
python run_alphafold.py \
python run_alphafold.py \
--json_path=/root/af_input/fold_input.json \
--model_dir=/root/models \
--output_dir=/root/af_output
@@ -348,7 +348,7 @@ singularity exec \
--bind <MODEL_PARAMETERS_DIR>:/root/models \
--bind <DATABASES_DIR>:/root/public_databases \
alphafold3.sif \
python alphafold3/run_alphafold.py \
python alphafold3/run_alphafold.py \
--json_path=/root/af_input/fold_input.json \
--model_dir=/root/models \
--db_dir=/root/public_databases \