Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aeri_quality_control
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
aeri
aeri_quality_control
Commits
96d42d97
Commit
96d42d97
authored
8 years ago
by
Coda Phillips
Browse files
Options
Downloads
Patches
Plain Diff
Don't crash when the variable is missing
parent
80145c98
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
interpret_qc.py
+2
-0
2 additions, 0 deletions
interpret_qc.py
with
2 additions
and
0 deletions
interpret_qc.py
+
2
−
0
View file @
96d42d97
...
...
@@ -53,6 +53,8 @@ def save_plot(filename):
def
plot_variable_qc
(
frame
,
loc
,
filename
=
None
):
qc_loc
=
'
qc_
'
+
loc
if
qc_loc
not
in
frame
.
columns
:
return
if
sum
(
frame
[
qc_loc
])
>
0
:
fig
=
plt
.
figure
(
figsize
=
(
50
,
5
))
plot_outliers
(
frame
,
frame
[
qc_loc
]
==
0
,
loc
)
...
...
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