Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Commit

Permalink
Python comment refactorings
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal Spörri committed Dec 16, 2015
1 parent d9539e4 commit 15e6c07
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
8 changes: 2 additions & 6 deletions python/serialbox/Serializer.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
#This file is released under terms of BSD license`
#See LICENSE.txt for more information

"""
Serializer module used to read serialized data
"""
"""Serializer module used to read serialized data"""

class Savepoint(dict):
"""
Represents a serializer savepoint
"""
"""Represents a serializer savepoint"""
def __init__(self, ser, savepoint):
self.savepoint = savepoint
self.serializer = ser
Expand Down
5 changes: 2 additions & 3 deletions python/serialbox/Visualizer.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#This file is released under terms of BSD license`
#See LICENSE.txt for more information

"""
Visualizer module used for visualization of serialized data.
"""
"""Visualizer module used for visualization of serialized data."""

import numpy as np
from matplotlib import pyplot as plt
from matplotlib.widgets import Slider, CheckButtons
Expand Down
4 changes: 1 addition & 3 deletions python/serialbox/serialization.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#This file is released under terms of BSD license`
#See LICENSE.txt for more information

"""
Internal serialization module that wraps the dynamic library of serialbox.
"""Internal serialization module that wraps the dynamic library of serialbox.
This module is used by the Serializer module.
"""

Expand Down
4 changes: 2 additions & 2 deletions python/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
import unittest

class Test(unittest.TestCase):

def test_load_serializer(self):
from serialbox import Serializer

def test_load_visualizer(self):
from serialbox import Visualizer

if __name__ == '__main__':
unittest.main()
unittest.main()

0 comments on commit 15e6c07

Please sign in to comment.