def generateLinkerFileFromDF(df_in, output_ano_file, strip_path=False, swc_path=None):
    swc_files = df_in['swc_file_name']
    if len(swc_files) > 0:
        with open(output_ano_file, 'w') as outf:
            for afile in swc_files:

                if swc_path is not None:
                    filename = swc_path + '/'+afile
                else:
                    filename = afile

                if strip_path:
                    filename = afile.split('/')[-1]
                line = 'SWCFILE=' + filename + '\n'
                outf.write(line)
            outf.close()
    return