Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
qgis-otb-plugin
Commits
fd496f7d
Commit
fd496f7d
authored
Jul 04, 2018
by
Rashad Kanavath
Browse files
wrong var used
parent
9f44cb6e
Changes
1
Show whitespace changes
Inline
Side-by-side
otb/OTBAlgorithmProvider.py
View file @
fd496f7d
...
@@ -124,8 +124,8 @@ class OTBAlgorithmProvider(QgsProcessingProvider):
...
@@ -124,8 +124,8 @@ class OTBAlgorithmProvider(QgsProcessingProvider):
app_vargs
=
" $@"
app_vargs
=
" $@"
export_cmd
=
'export '
export_cmd
=
'export '
first_line
=
'#!/bin/sh'
first_line
=
'#!/bin/sh'
env_profile
=
os
.
path
.
join
(
v
,
'otbenv.profile'
)
env_profile
=
os
.
path
.
join
(
otb_install_dir
,
'otbenv.profile'
)
otb_app_launcher
=
os
.
path
.
join
(
v
,
'bin'
,
'otbApplicationLauncherCommandLine'
)
otb_app_launcher
=
os
.
path
.
join
(
otb_install_dir
,
'bin'
,
'otbApplicationLauncherCommandLine'
)
cli_filepath
=
os
.
path
.
join
(
QgsApplication
.
qgisSettingsDirPath
(),
'processing'
,
'qgis_otb_cli'
)
cli_filepath
=
os
.
path
.
join
(
QgsApplication
.
qgisSettingsDirPath
(),
'processing'
,
'qgis_otb_cli'
)
lines
=
None
lines
=
None
gdal_data_dir
=
None
gdal_data_dir
=
None
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment