Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EO Time Series Viewer
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
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
Benjamin Jakimow
EO Time Series Viewer
Commits
1dfc9efa
Commit
1dfc9efa
authored
5 years ago
by
Benjamin Jakimow
Browse files
Options
Downloads
Patches
Plain Diff
modified __main__.py
Signed-off-by:
benjamin.jakimow
<
benjamin.jakimow@geo.hu-berlin.de
>
parent
2d817724
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
eotimeseriesviewer/__main__.py
+16
-5
16 additions, 5 deletions
eotimeseriesviewer/__main__.py
with
16 additions
and
5 deletions
eotimeseriesviewer/__main__.py
+
16
−
5
View file @
1dfc9efa
...
...
@@ -21,15 +21,26 @@
def
run
():
# add site-packages to sys.path
from
eotimeseriesviewer.tests
import
initQgisApplication
qgsApp
=
initQgisApplication
()
import
qgis.utils
from
qgis.gui
import
QgisInterface
qgisIface
=
isinstance
(
qgis
.
utils
.
iface
,
QgisInterface
)
if
not
qgisIface
:
qgsApp
=
initQgisApplication
()
from
eotimeseriesviewer
import
initAll
initAll
()
from
eotimeseriesviewer.main
import
TimeSeriesViewer
import
qgis.utils
ts
=
TimeSeriesViewer
(
qgis
.
utils
.
iface
)
ts
=
TimeSeriesViewer
()
ts
.
run
()
qgsApp
.
exec_
()
qgsApp
.
exitQgis
()
if
not
qgisIface
:
qgsApp
.
exec_
()
qgsApp
.
exitQgis
()
if
__name__
==
'
__main__
'
:
...
...
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