Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pyotb
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Nicolas Narçon
pyotb
Commits
783d9562
Commit
783d9562
authored
1 year ago
by
Vincent Delbar
Browse files
Options
Downloads
Patches
Plain Diff
STYLE: remove useless elif
parent
5cc50cea
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!108
Release 2.0.0
,
!98
Add function for interactive OTB installation
Pipeline
#13781
passed
1 year ago
Stage: Static Analysis
Stage: Tests
Stage: Documentation
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pyotb/helpers.py
+1
-1
1 addition, 1 deletion
pyotb/helpers.py
with
1 addition
and
1 deletion
pyotb/helpers.py
+
1
−
1
View file @
783d9562
...
...
@@ -100,7 +100,7 @@ def find_otb(prefix: str = OTB_ROOT, scan: bool = True):
if
input
(
"
OTB is missing. Do you want to install it ? (y/n):
"
)
==
"
y
"
:
return
find_otb
(
install_otb
(
*
interactive_config
()))
raise
SystemError
(
"
OTB libraries not found on disk.
"
)
el
if
not
prefix
:
if
not
prefix
:
raise
SystemExit
(
"
OTB libraries not found on disk.
"
"
To install it, open an interactive python shell and
'
import pyotb
'"
...
...
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