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
8b31e0a5
Commit
8b31e0a5
authored
8 years ago
by
benjamin.jakimow@geo.hu-berlin.de
Browse files
Options
Downloads
Patches
Plain Diff
added SETTINGS (QSettings)
added QGIS_TSV_BRIDGE to be used as package instance of the QgsTSVBridge object
parent
76ffd1ca
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
timeseriesviewer/__init__.py
+11
-1
11 additions, 1 deletion
timeseriesviewer/__init__.py
with
11 additions
and
1 deletion
timeseriesviewer/__init__.py
+
11
−
1
View file @
8b31e0a5
import
os
,
sys
,
fnmatch
import
os
,
sys
,
fnmatch
import
six
import
six
from
PyQt4.QtCore
import
QSettings
from
PyQt4.QtGui
import
QIcon
jp
=
os
.
path
.
join
jp
=
os
.
path
.
join
dn
=
os
.
path
.
dirname
dn
=
os
.
path
.
dirname
mkdir
=
lambda
p
:
os
.
makedirs
(
p
,
exist_ok
=
True
)
mkdir
=
lambda
p
:
os
.
makedirs
(
p
,
exist_ok
=
True
)
...
@@ -15,6 +16,15 @@ PATH_EXAMPLE_TIMESERIES = jp(DIR_EXAMPLES,'ExampleTimeSeries.csv')
...
@@ -15,6 +16,15 @@ PATH_EXAMPLE_TIMESERIES = jp(DIR_EXAMPLES,'ExampleTimeSeries.csv')
PATH_LICENSE
=
jp
(
DIR_REPO
,
'
GPL-3.0.txt
'
)
PATH_LICENSE
=
jp
(
DIR_REPO
,
'
GPL-3.0.txt
'
)
DEBUG
=
True
DEBUG
=
True
SETTINGS
=
QSettings
(
QSettings
.
UserScope
,
'
HU Geomatics
'
,
'
TimeSeriesViewer
'
)
QGIS_TSV_BRIDGE
=
None
def
icon
():
return
QIcon
(
'
:/timeseriesviewer/icons/icon.png
'
)
def
dprint
(
text
,
file
=
None
):
def
dprint
(
text
,
file
=
None
):
if
DEBUG
:
if
DEBUG
:
six
.
_print
(
'
DEBUG::{}
'
.
format
(
text
),
file
=
file
)
six
.
_print
(
'
DEBUG::{}
'
.
format
(
text
),
file
=
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