phasegenomics / hic_qc

A (very) simple script to QC Hi-C data.
GNU Affero General Public License v3.0
25 stars 5 forks source link

qc_repo_path not defined in write_pdf_report() #54

Closed chuseq closed 4 years ago

chuseq commented 4 years ago

Hi,

Installed the package, along with its requirements with conda. When running the following command line: $ hic_qc.py -b KO61_aligned.bam -r -o K061_output

At the end we get an error about qc_repo_path not defined, and no html nor pdf file is generated.

    QC.write_pdf_report()
  File "/usr/local/hic_qc/hic_qc.py", line 1105, in write_pdf_report
    qc_repo_path)
NameError: global name 'qc_repo_path' is not defined

Thanks in advance for your help.

chuseq commented 4 years ago

Hi again, So i replaced line 1105 with template_path instead of qc_repo_path and it worked.

Before: qc_repo_path) After: template_path)

Thanks!

bnelsj commented 4 years ago

Hi @chuseq , thanks for reporting! This issue will be resolved once the PR is approved.