Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
de200c0c
Commit
de200c0c
authored
Oct 06, 2021
by
Mohammad Nakhaee
Browse files
get the absolute path for the parse arguments
parent
cc02a7e1
Pipeline
#112079
passed with stages
in 25 minutes and 12 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
nomad/client/processing.py
View file @
de200c0c
...
...
@@ -45,6 +45,7 @@ def parse(
parser
=
parsers
.
parser_dict
.
get
(
parser_name
)
assert
parser
is
not
None
,
'the given parser must exist'
else
:
mainfile_path
=
os
.
path
.
abspath
(
mainfile_path
)
parser
=
parsers
.
match_parser
(
mainfile_path
,
strict
=
strict
)
if
isinstance
(
parser
,
parsing
.
MatchingParser
):
parser_name
=
parser
.
name
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment