def conditions_list(self, conkey):
        """
        Return a (possibly empty) list of conditions based on
        conkey. The conditions are returned raw, not parsed.

        conkey: str
            for cond<n>, startcond<n> or stopcond<n>, specify only the
            prefix. The list will be filled with all conditions.
        """
        L = []
        keys = [k for k in self.conditions if k.startswith(conkey)]  # sloppy
        if not keys:
            raise KeyError(conkey)
        for k in keys:
            if self.conditions[k] is None:
                continue
            raw = self.conditions[k]
            L.append(raw)

        return L
Return a (possibly empty) list of conditions based on
        conkey. The conditions are returned raw, not parsed.

        conkey: str
            for cond<n>, startcond<n> or stopcond<n>, specify only the
            prefix. The list will be filled with all conditions.