mirror of
https://github.com/google-deepmind/alphafold3.git
synced 2026-06-02 11:54:36 +08:00
Use pathlib.Path.home() instead of os.environ.get('HOME')
PiperOrigin-RevId: 903780979 Change-Id: I18b2580c65fc7c7411b5db3f8bd48d1b0535faa0
This commit is contained in:
committed by
Copybara-Service
parent
e9adcd4dbf
commit
6f882ad224
@@ -54,7 +54,7 @@ import numpy as np
|
||||
import tokamax
|
||||
|
||||
|
||||
_HOME_DIR = pathlib.Path(os.environ.get('HOME'))
|
||||
_HOME_DIR = pathlib.Path.home()
|
||||
_DEFAULT_MODEL_DIR = _HOME_DIR / 'models'
|
||||
_DEFAULT_DB_DIR = _HOME_DIR / 'public_databases'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user