Skip to content

Commit

Permalink
The command is run outside the qc_ngi dir
Browse files Browse the repository at this point in the history
  • Loading branch information
aanil committed May 17, 2023
1 parent 801a175 commit 14a403d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multiqc_ngi/multiqc_ngi.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def get_ngi_project_metadata(self, pid):

config.title = '{}: {}'.format(pid, p_summary['project_name'])
config.project_name = p_summary['project_name']
if config.analysis_dir and ('qc_ngi' in config.analysis_dir[0] or 'qc_ngi' in os.getcwd()):
if config.analysis_dir and ('qc_ngi' in config.analysis_dir[0] or 'qc_ngi' in os.listdir()):
infix = 'qc'
else:
infix = 'pipeline'
Expand Down

0 comments on commit 14a403d

Please sign in to comment.