Skip to content

Commit

Permalink
Update the predicate name associates with meridians
Browse files Browse the repository at this point in the history
  • Loading branch information
leungmanhin committed Apr 20, 2020
1 parent 9462a9f commit 455a375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcmid.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def is_available(entry):
evalink("has_property", "ConceptNode", "ConceptNode", pinyin_name, "TCM:" + prop)
for meri in meridians:
if is_available(pinyin_name) and is_available(meri):
evalink("targets_meridian", "ConceptNode", "ConceptNode", pinyin_name, "TCM:" + meri)
evalink("meridian_affinity", "ConceptNode", "ConceptNode", pinyin_name, "TCM:" + meri)

elif rar_file.endswith(tcmid_prescription):
# Skip the first line (columns) in this file
Expand Down

0 comments on commit 455a375

Please sign in to comment.