Skip to content

Commit

Permalink
Part not necessary anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus Thoden committed Feb 9, 2018
1 parent 4197634 commit 51bab0d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions libeoaconvert.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,4 @@ def format_citations(used_citekeys, bibdata, language):

references = dd.xpath("//div[@class='references']")
return references

# full_paren_cites = dd.select("#full-parentheses ~ p > span")
# year_paren_cites = dd.select("#year-parentheses ~ p > span")
# citation_dict = {}
# for entry in used_citekeys:
# title = (bibdata[entry]['title'])
# full_paren = dd.select("#full-parentheses ~ p > span[data-cites='%s']" % entry)[0].text
# year_paren = dd.select("#year-parentheses ~ p > span[data-cites='%s']" % entry)[0].text
# citation_dict[entry] = (full_paren, year_paren, title)
# return citation_dict

# def format_citations ends here

0 comments on commit 51bab0d

Please sign in to comment.