Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
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
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Julien Cabieces
otb
Commits
65694916
Commit
65694916
authored
6 years ago
by
Victor Poughon
Browse files
Options
Downloads
Patches
Plain Diff
DOC: typos from code review
parent
140b9036
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Documentation/Cookbook/Scripts/otb_warnings.py
+0
-18
0 additions, 18 deletions
Documentation/Cookbook/Scripts/otb_warnings.py
Modules/Applications/AppClassification/app/otbKMeansClassification.cxx
+1
-1
1 addition, 1 deletion
...cations/AppClassification/app/otbKMeansClassification.cxx
with
1 addition
and
19 deletions
Documentation/Cookbook/Scripts/otb_warnings.py
+
0
−
18
View file @
65694916
...
...
@@ -18,17 +18,6 @@ def parameter_warnings(app_warn, app, key):
if
"
.
"
in
name
:
warn
(
"
name contains a special character (.)
"
)
# disabled because there are so many for now
#if description == "":
#warn("missing description")
# disabled because there are so many for now
#if len(description) > 0 and description[-1] != ".":
#warn("description does not end with a period")
#if len(description) > 0 and " :" in description:
#warn("description has a space before a colon")
def
application_documentation_warnings
(
app
):
"
Emit warnings about application documentation
"
...
...
@@ -38,16 +27,9 @@ def application_documentation_warnings(app):
description
=
app
.
GetDescription
()
longdescription
=
app
.
GetDocLongDescription
()
# disable because there are so many for now
#if not longdescription[-1] == ".":
#warn("Application Long Description does not end with a period (.)")
if
re
.
search
(
"
\\
n [a-zA-Z]
"
,
longdescription
):
warn
(
"
Application Long Description contains
'
\\
n
'
pattern (usually not intended)
"
)
#if " :" in longdescription:
#warn("Application Long Description has a space before a colon")
if
app
.
GetNumberOfExamples
()
==
0
:
warn
(
"
Application has no examples
"
)
...
...
This diff is collapsed.
Click to expand it.
Modules/Applications/AppClassification/app/otbKMeansClassification.cxx
+
1
−
1
View file @
65694916
...
...
@@ -417,7 +417,7 @@ private:
"4) SampleExtraction: extract the samples descriptors (update of SampleSelection output file),
\n
"
"5) ComputeImagesStatistics: compute images second order statistics,
\n
"
"6) TrainVectorClassifier: train the SharkKMeans model,
\n
"
"7) ImageClassifier: perform
s
the classification of the input image "
"7) ImageClassifier: perform the classification of the input image "
"according to a model file.
\n\n
"
"It's possible to choice random/periodic modes of the SampleSelection application.
\n
"
"If you want keep the temporary files (sample selected, model file, ...), "
...
...
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