We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c818990 + f721b8c commit b0c5e2cCopy full SHA for b0c5e2c
src/accessvis/earth.py
@@ -40,7 +40,7 @@ class Settings():
40
41
# Check if running on 'gadi.nci.org.au'
42
hostname = os.getenv('HOSTNAME', '')
43
- if 'gadi.nci.org.au' in hostname:
+ if not DATA_PATH and 'gadi.nci.org.au' in hostname:
44
project = os.getenv("PROJECT")
45
user = os.getenv("USER")
46
DATA_PATH = Path(f'/scratch/{project}/{user}/.accessvis')
0 commit comments