Commit ac1b618a authored by Andrei Mancu's avatar Andrei Mancu
Browse files

Add scratch path for runner flawless running

parent 2b1e5460
Pipeline #139117 failed with stage
in 3 minutes and 10 seconds
......@@ -10,7 +10,7 @@ import pytest
pytest.mark.filterwarnings("ignore:Initialized working directory without existing config file at")
# TODO: loading pytorch3 models currently let's gitlab-runners get stuck after running tests
# TODO: loading pytorch3 models currently lets gitlab-runners get stuck after running tests
def _setup_working_dir():
for curr_dir in [os.path.dirname(os.path.realpath(__file__)) + '/',
os.path.abspath(os.path.curdir) + '/',
......@@ -18,7 +18,8 @@ def _setup_working_dir():
os.path.abspath(os.path.curdir) + '/SyConn/',
os.path.expanduser('~/SyConnData/'),
os.path.expanduser('~/SyConn/'),
'/wholebrain/songbird/SyConn_v2_examples/SyConnData']:
os.path.expanduser('~/scratch/SyConnData/'),
os.path.expanduser('~/scratch/SyConn/')]:
m_dir = curr_dir + '/models/'
if os.path.isdir(m_dir):
break
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment