  from lib.Serializer import PickleSerializer
  
  
  class SavedSessions(object):
      """ Saved Training Session """
      def __init__(self, sessions_data):
          self.serializer = PickleSerializer
          self.sessions = self.load_sessions(sessions_data)
  
 
</s> remove from lib.cli import ContextFullPaths, DirFullPaths, FileFullPaths, SaveFileFullPaths
 </s> add from lib.cli import (ContextFullPaths, DirFullPaths,
                     FileFullPaths, SaveFileFullPaths) </s> remove             summary["elapsed"] = time.strftime("%H:%M:%S",
                                               time.gmtime(summary["elapsed"]))
 </s> add             hrs, mins, secs = convert_time(summary["elapsed"])
            summary["elapsed"] = "{}:{}:{}".format(hrs, mins, secs) </s> remove         self.timestats["elapsed"] = time.strftime("%H:%M:%S",
                                                  time.gmtime(elapsed_time))
 </s> add         hrs, mins, secs = convert_time(elapsed_time)
        self.timestats["elapsed"] = "{}:{}:{}".format(hrs, mins, secs)
def convert_time(timestamp):
    """ Convert time stamp to total hours, mins and second """
    hrs = int(timestamp // 3600)
    if hrs < 10:
        hrs = "{0:02d}".format(hrs)
    mins = "{0:02d}".format((int(timestamp % 3600) // 60))
    secs = "{0:02d}".format((int(timestamp % 3600) % 60))
    return hrs, mins, secs


  from lib.Serializer import PickleSerializer
  
  
def convert_time(timestamp):
    """ Convert time stamp to total hours, mins and second """
    hrs = int(timestamp // 3600)
    if hrs < 10:
        hrs = "{0:02d}".format(hrs)
    mins = "{0:02d}".format((int(timestamp % 3600) // 60))
    secs = "{0:02d}".format((int(timestamp % 3600) % 60))
    return hrs, mins, secs


  class SavedSessions(object):
      """ Saved Training Session """
      def __init__(self, sessions_data):
          self.serializer = PickleSerializer
          self.sessions = self.load_sessions(sessions_data)
  
keep keep add keep keep keep keep keep keep
 Implement Alignments tool and other minor fixes (#473)

* Fix helptext formatting for cli and gui
* Extract faces from alignments file
* Add draw landmarks
* fix analysis hours past 24 bug
* Remove tools flag. Enlarge GUI tooltips 
lib/gui/stats.py