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: aatest_ds000114_dartel.m
    path of file: ./repos/automaticanalysis/developer/testscripts
    
    the code of the file until where you have to start completion: function aatest_ds000114_dartel(parameterfile, deleteprevious, wheretoprocess)

% PR testing - dartel using ds000114

    
function aatest_ds000114_dartel(parameterfile, deleteprevious, wheretoprocess)

% PR testing - dartel using ds000114

% -------------------------------------------------------------------------
% init
% -------------------------------------------------------------------------

aap = aa_test_inittest(mfilename('fullpath'), parameterfile, deleteprevious, wheretoprocess);

% -------------------------------------------------------------------------
% analysis options
% -------------------------------------------------------------------------

aap.options.NIFTI4D = 1;

aap.tasksettings.aamod_segment8_multichan.samp=2;
aap.tasksettings.aamod_segment8_multichan.writenormimg=0;
aap.tasksettings.aamod_dartel_normmni.fwhm=1;

% -------------------------------------------------------------------------
% BIDS
% -------------------------------------------------------------------------

aap = aas_processBIDS(aap,[],{'finger_foot_lips'}, {'sub-01'});

% -------------------------------------------------------------------------
% run
% -------------------------------------------------------------------------

aa_doprocessing(aap);

% if directory_conventions.reportname is undefined, skip reporting

if isfield(aap.directory_conventions,'reportname') && ~isempty(aap.directory_conventions.reportname)
    aa_report(fullfile(aas_getstudypath(aap),aap.directory_conventions.analysisid));
end