Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Cal Poly Solar Irradiance Microforecasting
SIMF Python GUI
Commits
6602545c
Unverified
Commit
6602545c
authored
Nov 24, 2018
by
AJ Fite
🛫
Browse files
Starting work on filehandler rewrite
parent
d4ecd764
Changes
1
Hide whitespace changes
Inline
Side-by-side
SimfPythonGUI/filehandlers.py
View file @
6602545c
...
...
@@ -71,6 +71,9 @@ class ImageHandler(PatternMatchingEventHandler):
self
.
current
=
(
self
.
current
+
1
)
%
Config
.
dbg_lepton_set
# TODO: This needs to be thread safe
# Good example:
# https://github.com/yesworkflow-org/yw-gui/blob/master/main_ui.py
class
CSVHandler
(
PatternMatchingEventHandler
):
patterns
=
[
"*.csv"
]
main
=
None
...
...
@@ -80,5 +83,6 @@ class CSVHandler(PatternMatchingEventHandler):
self
.
main
=
mainwindow
def
on_created
(
self
,
event
):
# TODO: use this to determine percentage complete
# TODO: Update irradiance count
print
(
"New CSV"
)
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