Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nomad-FAIR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nomad-lab
nomad-FAIR
Commits
2d3bc4ad
Commit
2d3bc4ad
authored
5 years ago
by
Markus Scheidgen
Browse files
Options
Downloads
Patches
Plain Diff
Fix for
#162
.
parent
f823122b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#51096
canceled
5 years ago
Stage: build
Stage: test
Stage: release
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
nomad/parsing/parser.py
+1
-1
1 addition, 1 deletion
nomad/parsing/parser.py
tests/test_parsing.py
+1
-1
1 addition, 1 deletion
tests/test_parsing.py
with
2 additions
and
2 deletions
nomad/parsing/parser.py
+
1
−
1
View file @
2d3bc4ad
...
...
@@ -139,7 +139,7 @@ class MatchingParser(Parser):
if
self
.
_mainfile_contents_re
.
search
(
decoded_buffer
)
is
None
:
return
False
return
self
.
_mainfile_mime_re
.
match
(
mime
)
is
not
None
and
\
self
.
_mainfile_name_re
.
match
(
filename
)
is
not
None
and
\
self
.
_mainfile_name_re
.
full
match
(
filename
)
is
not
None
and
\
(
compression
is
None
or
compression
in
self
.
_supported_compressions
)
def
__repr__
(
self
):
...
...
This diff is collapsed.
Click to expand it.
tests/test_parsing.py
+
1
−
1
View file @
2d3bc4ad
...
...
@@ -72,7 +72,7 @@ for parser, mainfile in parser_examples:
parser_examples
=
fixed_parser_examples
correct_num_output_files
=
41
correct_num_output_files
=
38
class
TestLocalBackend
(
object
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment