  
      def get_faces_in_frame(self, frame):
          """ Return the alignments for the selected frame """
          return self.data.get(frame, list())
  
      def get_full_frame_name(self, frame):
          """ Return a frame with extension for when the extension is
              not known """
 
</s> remove         return next(key for key in self.data.keys()
                    if key.startswith(frame))
 </s> add         retval = next(key for key in self.data.keys()
                      if key.startswith(frame))
        logger.trace("Requested: '%s', Returning: '%s'", frame, retval)
        return retval </s> remove             return False
        return bool(len(self.data.get(frame, list())) > 1)
 </s> add             retval = False
        else:
            retval = bool(len(self.data.get(frame, list())) > 1)
        logger.trace(retval)
        return retval </s> remove         return bool(self.data.get(frame, list()))
 </s> add         retval = bool(self.data.get(frame, list()))
        logger.trace(retval)
        return retval </s> remove         return frame in self.data.keys()
 </s> add         retval = frame in self.data.keys()
        logger.trace(retval)
        return retval </s> remove         return len(self.data.get(frame, list()))
 </s> add         retval = len(self.data.get(frame, list()))
        logger.trace(retval)
        return retval
        logger.trace("Getting faces for frame: '%s'", frame)
  
      def get_faces_in_frame(self, frame):
          """ Return the alignments for the selected frame """
        logger.trace("Getting faces for frame: '%s'", frame)
          return self.data.get(frame, list())
  
      def get_full_frame_name(self, frame):
          """ Return a frame with extension for when the extension is
              not known """
keep keep add keep keep keep keep keep
 Logging (#541)

* Convert prints to logger. Further logging improvements. Tidy  up

* Fix system verbosity. Allow SystemExit

* Fix reload extract bug

* Child Traceback handling

* Safer shutdown procedure

* Add shutdown event to queue manager

* landmarks_as_xy > property. GUI notes + linting. Aligner bugfix

* fix FaceFilter. Enable nFilter when no Filter is supplied

* Fix blurry face filter

* Continue on IO error. Better error handling

* Explicitly print stack trace tocrash log

* Windows Multiprocessing bugfix

* Add git info and conda version to crash log

* Windows/Anaconda mp bugfix

* Logging fixes for training 
lib/alignments.py