Skip to content

Commit 2861f51

Browse files
authored
Merge pull request #8 from aanil/master
The command is run outside the qc_ngi dir
2 parents 801a175 + 14a403d commit 2861f51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multiqc_ngi/multiqc_ngi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def get_ngi_project_metadata(self, pid):
232232

233233
config.title = '{}: {}'.format(pid, p_summary['project_name'])
234234
config.project_name = p_summary['project_name']
235-
if config.analysis_dir and ('qc_ngi' in config.analysis_dir[0] or 'qc_ngi' in os.getcwd()):
235+
if config.analysis_dir and ('qc_ngi' in config.analysis_dir[0] or 'qc_ngi' in os.listdir()):
236236
infix = 'qc'
237237
else:
238238
infix = 'pipeline'

0 commit comments

Comments
 (0)