def convert_genepop_to_fdist(gp_rec, report_pops=None):
 if hasattr(gp_rec, 'populations'):
  return _convert_genepop_to_fdist(gp_rec)
 else:
  return _convert_genepop_to_fdist_big(gp_rec, report_pops)

def convert_genepop_to_fdist ( gp_rec , report_pops = None ) : if hasattr ( gp_rec , 'populations' ) : return _convert_genepop_to_fdist ( gp_rec ) else : return _convert_genepop_to_fdist_big ( gp_rec , report_pops )
converts a genepop record to a fdist one .