PiRSquared17 / glu-genetics

Automatically exported from code.google.com/p/glu-genetics
Other
0 stars 0 forks source link

Wrong error in assoc.logit1 when phenotype column does not exist. #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
$ glu assoc.logit1 new_pheno2.def justGP.sdat
--model="GENO(locus)+PHENO2_CAT" -o justGP.out
GLU 1.0a6-dev module: assoc.logit1
Copyright (c) 2008, BioInformed LLC and the U.S. Department of Health &
Human Services. Funded by NCI under Contract N01-CO-12400.

[ERROR] Duplicate headers detected (n=1)
Execution aborted due to a problem with the program input, parameters
supplied, an error in the program.  Please examine the following failure
trace for clues as to what may have gone wrong.  When in doubt, please send
this message and a complete description of the analysis you are attempting
to perform to the software developers.

Command line:
  glu assoc.logit1 new_pheno2.def justGP.sdat
--model=GENO(locus)+PHENO2_CAT -o justGP.out

Traceback:
  Traceback (most recent call last):
    File
"/u3/home/jacobske/projects/glu-genetics/trunk/glu/lib/glu_launcher.py",
line 203, in main
      progmain()
    File
"/home/jacobske/projects/glu-genetics/trunk/glu/modules/assoc/logit1.py",
line 173, in main
      loci,fixedloci,gterms,models = build_models(phenos, genos, options)
    File
"/u3/home/jacobske/projects/glu-genetics/trunk/glu/lib/association.py",
line 476, in build_models
      allowdups=options.allowdups,verbose=verbose,errs=errs)
    File
"/u3/home/jacobske/projects/glu-genetics/trunk/glu/lib/association.py",
line 334, in load_phenos
      raise ValueError('Invalid repeated heading in phenotype header')
  ValueError: Invalid repeated heading in phenotype header

Original issue reported on code.google.com by meredith...@gmail.com on 25 Nov 2008 at 4:33