Creates a GenePattern module zip file for upload and installation on a GenePattern server
        :param clean: boolean
        :return:

def create_zip(self, clean=True, increment_version=True, register=True):
        """
        Creates a GenePattern module zip file for upload and installation on a GenePattern server
        :param clean: boolean
        :return:
        """
        # First validate the attributes
        self.validate()

        # Check to see if an existing interferes with module creation
        if os.path.exists(MANIFEST_FILE_NAME):
            raise OSError("existing manifest blocks manifest file creation")

        # Write the manifest
        self.write_manifest()

        # Create the zip
        self._zip_files()

        # Increment the version of the module
        if increment_version:
            self.version += 1

        # Register the module with the LSID authority
        if register and self.lsid_authority:
            self.lsid_authority.register(self)

        # Clean up the manifest
        if clean:
            os.remove(MANIFEST_FILE_NAME)