Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gvec_to_python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
gvec-group
gvec_to_python
Commits
1b180cf1
Commit
1b180cf1
authored
3 years ago
by
Tin Kei Cheng
Browse files
Options
Downloads
Patches
Plain Diff
Test coverage bug.
parent
5f019d06
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#122071
passed
3 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.coveragerc
+4
-1
4 additions, 1 deletion
.coveragerc
src/gvec_to_python/writer/paraview/vtk_writer.py
+1
-4
1 addition, 4 deletions
src/gvec_to_python/writer/paraview/vtk_writer.py
with
5 additions
and
5 deletions
.coveragerc
+
4
−
1
View file @
1b180cf1
...
...
@@ -8,6 +8,9 @@ omit =
# Don't care about STRUPHY code.
*/hylife/*
# Omit weird inclusion of numba-generated code.
*/__numba_array_expr_synthetic_module_/*
[report]
# Regexes for lines to exclude from consideration
exclude_lines =
...
...
@@ -31,4 +34,4 @@ exclude_lines =
import
# Ignore spontaneous `No source for code` errors:
ignore_errors = True
#
ignore_errors = True
This diff is collapsed.
Click to expand it.
src/gvec_to_python/writer/paraview/vtk_writer.py
+
1
−
4
View file @
1b180cf1
...
...
@@ -84,7 +84,4 @@ class vtkWriter():
writer
.
SetFileName
(
filepath
)
success
=
writer
.
Write
()
if
success
==
1
:
return
True
else
:
return
False
return
success
==
1
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