def frets_to_NoteContainer(self, fingering):
        """Convert a list such as returned by find_fret to a NoteContainer."""

        res = []
        for (string, fret) in enumerate(fingering):
            if fret is not None:
                res.append(self.get_Note(string, fret))
        return NoteContainer(res)
Convert a list such as returned by find_fret to a NoteContainer.