You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: reportClusterMerging.m
    path of file: ./repos/CanlabCore/CanlabCore/External/umap/util
    
    the code of the file until where you have to start completion: %   AUTHORSHIP
%   Primary Developer: Stephen Meehan <swmeehan@stanfor
    
function pu=reportClusterMerging(loop, changes, peaks, pu, startTime)
cur=get(0, 'CurrentFigure');
if loop==1 && peaks>200
    pu=PopUp(...
        sprintf('<html>Merging valleys between %d cluster peaks', peaks), ...
        'south east', 'Cluster valley merging');
    if ~isempty(cur)
        figure(cur);
    end