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
Andrei-Claudiu Roibu
BrainMapper
Commits
682ab415
Commit
682ab415
authored
Apr 15, 2020
by
Andrei-Claudiu Roibu
🖥
Browse files
added if statement for if labels are None
parent
e5b9c984
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils/data_logging_utils.py
View file @
682ab415
...
...
@@ -71,7 +71,10 @@ class LogWriter():
self
.
current_iteration
=
1
self
.
labels
=
self
.
labels_generator
(
labels
)
if
labels
is
not
None
:
self
.
labels
=
self
.
labels_generator
(
labels
)
else
:
pass
self
.
logger
=
logging
.
getLogger
()
file_handler
=
logging
.
FileHandler
(
...
...
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