Skip to content

Commit 08fbd13

Browse files
committed
more detail on report
1 parent da86128 commit 08fbd13

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

source/analyse/coverage_report.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def coverage_report(papers):
166166
try:
167167
title = this_paper['clean']['title']
168168
if title != '':
169-
cov_html += '<td>OK</td>'
169+
cov_html += '<td title="' + title + '">OK</td>'
170170
status['title'] = status['title'] + 1
171171
else:
172172
raise Exception()
@@ -222,7 +222,7 @@ def coverage_report(papers):
222222
try:
223223
first_author = this_paper['clean']['first_author']
224224
if first_author != '':
225-
cov_html += '<td>OK</td>'
225+
cov_html += '<td title = "' + first_author + '">OK</td>'
226226
status['first_author'] = status['first_author'] + 1
227227
else:
228228
raise Exception()
@@ -256,7 +256,7 @@ def coverage_report(papers):
256256
try:
257257
first_author_affiliation = this_paper['clean']['location']['candidate_institute']
258258
if first_author_affiliation != '':
259-
cov_html += '<td>OK</td>'
259+
cov_html += '<td title = "' + first_author_affiliation + '">OK</td>'
260260
status['first_author_affiliation'] = status['first_author_affiliation'] + 1
261261
else:
262262
raise Exception()
@@ -268,7 +268,7 @@ def coverage_report(papers):
268268
try:
269269
clean_institution = this_paper['clean']['location']['clean_institute']
270270
if clean_institution != '':
271-
cov_html += '<td>OK</td>'
271+
cov_html += '<td title = "' + clean_institution + '">OK</td>'
272272
status['clean_institution'] = status['clean_institution'] + 1
273273
else:
274274
raise Exception()
@@ -309,7 +309,7 @@ def coverage_report(papers):
309309
try:
310310
country = this_paper['clean']['location']['country']
311311
if country != '':
312-
cov_html += '<td>OK</td>'
312+
cov_html += '<td>' + country + '</td>'
313313
status['country'] = status['country'] + 1
314314
else:
315315
raise Exception()

0 commit comments

Comments
 (0)