Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebBell committed Jul 3, 2021
1 parent 769c515 commit 9430fbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions tests/test_identifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,16 +401,16 @@ def test_db_vs_ChemSep():
and are ignored; otherwise it is a very effective test.
DO NOT TRY TO OPTimizE THis FUNCTION - IT HAS ALREADY BEEN TRIED AND
FAILED AT. THE TIME IS ONLY TAKEN py the PARSE function.
FAILED AT. THE TIME IS ONLY TAKEN by the PARSE function.
EVEN THAT HAS BEEN REDUCED By 80% by using cElementTree instead of
ElementTree.
"""

import xml.etree.cElementTree as ET
folder = os.path.join(os.path.dirname(__file__), 'Data')
folder = os.path.join(os.path.dirname(__file__), '..', 'chemicals', 'Misc')

tree = ET.parse(os.path.join(folder, 'chemsep1.xml'))
tree = ET.parse(os.path.join(folder, 'ChemSep8.26.xml'))
root = tree.getroot()

data = {}
Expand Down

0 comments on commit 9430fbd

Please sign in to comment.