def create_atype(self, projects):
        """Create and return a new atype

        :param projects: the projects for the atype
        :type projects: :class:`jukeboxcore.djadapter.models.Project`
        :returns: The created atype or None
        :rtype: None | :class:`jukeboxcore.djadapter.models.Atype`
        :raises: None
        """
        dialog = AtypeCreatorDialog(projects=projects, parent=self)
        dialog.exec_()
        atype = dialog.atype
        return atype
Create and return a new atype

        :param projects: the projects for the atype
        :type projects: :class:`jukeboxcore.djadapter.models.Project`
        :returns: The created atype or None
        :rtype: None | :class:`jukeboxcore.djadapter.models.Atype`
        :raises: None