lemieuxl / pyGenClean

Automated genetic data clean up procedure in Python.
GNU General Public License v3.0
3 stars 2 forks source link

Bug in main pipeline #17

Closed lemieuxl closed 9 years ago

lemieuxl commented 9 years ago

When skipping the reference populations in the ethnicity module, a variable was not properly set...

Traceback (most recent call last):
  File ".../miniconda3/envs/python2_env/bin/run_pyGenClean", line 6, in <module>
    sys.exit(safe_main())
  File ".../miniconda3/envs/python2_env/lib/python2.7/site-packages/pyGenClean/run_data_clean_up.py", line 3240, in safe_main
    main()
  File ".../miniconda3/envs/python2_env/lib/python2.7/site-packages/pyGenClean/run_data_clean_up.py", line 188, in main
    options=options,
  File ".../miniconda3/envs/python2_env/lib/python2.7/site-packages/pyGenClean/run_data_clean_up.py", line 1972, in run_check_ethnicity
    with open(filename, "r") as i_file:
NameError: global name 'filename' is not defined