Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
concepts-processing
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Package registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
meldb
concepts-processing
Commits
fa2a58d9
Commit
fa2a58d9
authored
4 weeks ago
by
Jakub Dylag
Browse files
Options
Downloads
Patches
Plain Diff
(bug) QA parser not removing codes that cannot be fixed
parent
38bb2dc8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
acmc/parse.py
+4
-2
4 additions, 2 deletions
acmc/parse.py
with
4 additions
and
2 deletions
acmc/parse.py
+
4
−
2
View file @
fa2a58d9
...
@@ -99,6 +99,8 @@ class Proto:
...
@@ -99,6 +99,8 @@ class Proto:
_logger
.
debug
(
f
"
Check: Fixed
"
)
_logger
.
debug
(
f
"
Check: Fixed
"
)
except
InvalidCodesException
as
ex
:
except
InvalidCodesException
as
ex
:
errors
.
append
(
ex
.
error
)
errors
.
append
(
ex
.
error
)
codes
=
codes
[
cond
(
codes
)]
#remove codes that cannot be fixed
_logger
.
debug
(
f
"
Check: Invalid Codes Removed, no fix available
"
)
else
:
else
:
_logger
.
debug
(
f
"
Check: passed
"
)
_logger
.
debug
(
f
"
Check: passed
"
)
...
@@ -231,7 +233,7 @@ class Read3(Proto):
...
@@ -231,7 +233,7 @@ class Read3(Proto):
f
"
QA Alphanumeric Dot
"
,
f
"
QA Alphanumeric Dot
"
,
codes
=
codes
,
codes
=
codes
,
codes_file
=
codes_file
,
codes_file
=
codes_file
,
mask
=
None
,
mask
=
codes
.
str
.
match
(
r
"
^[a-zA-Z0-9.]+$
"
)
,
code_type
=
self
.
name
,
code_type
=
self
.
name
,
)
)
)
)
...
@@ -246,7 +248,7 @@ class Read3(Proto):
...
@@ -246,7 +248,7 @@ class Read3(Proto):
f
"
QA In Database
"
,
f
"
QA In Database
"
,
codes
=
codes
,
codes
=
codes
,
codes_file
=
codes_file
,
codes_file
=
codes_file
,
mask
=
None
,
mask
=
self
.
in_database
(
codes
,
self
.
db
,
self
.
name
)
,
code_type
=
self
.
name
,
code_type
=
self
.
name
,
)
)
)
)
...
...
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