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: ica_fuse_run_pgica_ica.m
    path of file: ./repos/fit/FITv2.0e/ica_fuse/ica_fuse_parallelICA
    
    the code of the file until where you have to start completion: function ica_fuse_run_pgica_ica(param_file)
%% Run pgica ica
%

ica_fuse_defaults;
global PGICA_ICA_DEFAULTS;


if (isempty(which('gift.m')))
    error('Requires GIFT
    
function varargout = getPCARedFiles(pgicaInfo, nM)
%% Get PCA Reduction files

modality = lower(pgicaInfo.modalities{nM});
featuresInfo = pgicaInfo.featuresInfo(nM);
featureName = featuresInfo.name;
feaInfo.files = featuresInfo.files;
feaInfo.modality = modality;
feaInfo.feature_name = featureName;
mask(1).ind = pgicaInfo.mask_indices{nM};
outputDir = pgicaInfo.outputDir;
components = featuresInfo.components;
pcaDir = [pgicaInfo.prefix, '_pca'];
if (exist(fullfile(outputDir, pcaDir), 'dir') ~= 7)
    mkdir(outputDir, pcaDir);
end