File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222from absl import app
2323from absl import flags
2424from absl import logging
25+
26+ import tempfile
2527from spython .main import Client
2628
2729#### USER CONFIGURATION ####
2830
29- # Set to target of scripts/download_all_databases.sh
30- DATA_DIR = os .environ ['ALPHAFOLD_DATADIR' ]
31-
32- # AlphaFold Singularity image.
31+ # Path to AlphaFold Singularity image. This relies on
32+ # the environment variable ALPHAFOLD_DIR which is the
33+ # directory where AlphaFold is installed.
3334singularity_image = Client .load (os .path .join (os .environ ['ALPHAFOLD_DIR' ], 'alphafold.sif' ))
3435
3536# Path to a directory that will store the results.
3637if 'TMPDIR' in os .environ :
37- output_dir = os .environ ['TMPDIR' ]
38+ output_dir = os .environ ['TMPDIR' ]
3839else :
39- output_dir = tempfile .mkdtemp (dir = '/tmp' , prefix = 'alphafold-' )
40+ output_dir = tempfile .mkdtemp (dir = '/tmp' , prefix = 'alphafold-' )
4041
4142#### END USER CONFIGURATION ####
4243
You can’t perform that action at this time.
0 commit comments