We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66a7d93 commit a4011c8Copy full SHA for a4011c8
1 file changed
ludwig/__main__.py
@@ -174,14 +174,14 @@ def submit():
174
175
if not namespace.isolated:
176
if not os.path.ismount(str(research_data_path)):
177
- raise SystemError(f'Failed to mount {research_data_path}')
+ raise OSError(f'{research_data_path} is not mounted')
178
179
assert not (namespace.extra_paths and namespace.local), 'Do not use both --extra_paths and --local'
180
181
if not src_path.exists():
182
raise NotADirectoryError(f'Cannot find source code in {src_path}.')
183
184
- if not research_data_path.exists():
+ if not namespace.isolated and not research_data_path.exists():
185
raise OSError(f'{research_data_path} does not exist. '
186
'Please set the correct path to your custom mount point.')
187
0 commit comments