Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
EnMAP
GFZ_Tools_EnMAP_BOX
EnPT
Commits
52258a15
Commit
52258a15
authored
Apr 18, 2018
by
Daniel Scheffler
Browse files
Fixed path within config_for_testing.
parent
ed988a59
Pipeline
#2923
failed with stages
in 63 minutes and 43 seconds
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
52258a15
...
...
@@ -44,7 +44,7 @@ test_styles:
-
source /root/miniconda3/bin/activate enpt
-
export GDAL_DATA=/root/miniconda3/envs/enpt/share/gdal
-
export PYTHONPATH=$PYTHONPATH:/root
# /root <- directory needed later
-
pip install flake8
#
fixes
version incompatibility between flake8 and pycodestyle
-
pip install flake8
#
FIXME
version incompatibility between flake8 and pycodestyle
-
make lint
artifacts
:
paths
:
...
...
enpt/execution/controller.py
View file @
52258a15
...
...
@@ -57,7 +57,7 @@ class EnPT_Controller(object):
if
not
os
.
path
.
isdir
(
path_enmap_image
)
and
\
not
(
os
.
path
.
exists
(
path_enmap_image
)
and
path_enmap_image
.
endswith
(
'.zip'
)):
raise
ValueError
(
"The parameter 'path_enmap_image' must be a directory or the path to an existing zip "
"archive.
"
)
"archive.
Received %s."
%
path_enmap_image
)
# extract L1B image archive if needed
if
path_enmap_image
.
endswith
(
'.zip'
):
...
...
enpt/options/config.py
View file @
52258a15
...
...
@@ -34,7 +34,8 @@ path_options_default = os.path.join(path_enptlib, 'options', 'options_default.js
config_for_testing
=
dict
(
path_l1b_enmap_image
=
os
.
path
.
join
(
path_enptlib
,
'tests'
,
'data'
,
'EnMAP_Level_1B'
,
'AlpineTest1_CWV2_SM0.zip'
),
path_l1b_enmap_image
=
os
.
path
.
abspath
(
os
.
path
.
join
(
path_enptlib
,
'..'
,
'tests'
,
'data'
,
'EnMAP_Level_1B'
,
'AlpineTest1_CWV2_SM0.zip'
)),
output_dir
=
os
.
path
.
join
(
path_enptlib
,
'tests'
,
'data'
,
'test_outputs'
)
)
...
...
requirements_dev.txt
View file @
52258a15
...
...
@@ -6,5 +6,3 @@ flake8==2.6.0
tox==2.3.1
coverage==4.1
Sphinx==1.4.8
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment