Skip to content

Commit

Permalink
fix parens within Evaluation links
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiemonroe committed Mar 20, 2015
1 parent c3faafa commit 2029837
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions knowledge-import/GO_scm.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ def inLink( node1 , node2):

def evaLink(predicateName ,node1 , node2 , node1_type, node2_type):
f_go.write("(EvaluationLink \n")
f_go.write("\t (PredicateNode \"" + predicateName + "\"\n")
f_go.write("\t (PredicateNode \"" + predicateName + "\")\n")
f_go.write("\t (ListLink \n")
f_go.write("\t\t (" + node1_type + " \"" + node1 + "\")\n")
f_go.write("\t\t (" + node2_type + " \"" + node2 + "\"))\n")
f_go.write("\t\t (" + node2_type + " \"" + node2 + "\")\n")
f_go.write("\t )\n")
f_go.write(")\n\n")

Expand Down
4 changes: 2 additions & 2 deletions knowledge-import/Go_Annotation_scm.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ def evaLink(node1 , node2, qualifier):
f_annotation.write("(EvaluationLink (stv 0.0 0.0)\n")
else :
f_annotation.write("(EvaluationLink \n")
f_annotation.write("\t (PredicateNode \""+ "annotation"+ "\"\n")
f_annotation.write("\t (PredicateNode \""+ "annotation"+ "\")\n")
f_annotation.write("\t (ListLink \n")
f_annotation.write("\t\t (GeneNode" + " \"" + node1 + "\")\n")
f_annotation.write("\t\t (ConceptNode" + " \"GO:" + node2 + "\"))\n")
f_annotation.write("\t\t (ConceptNode" + " \"GO:" + node2 + "\")\n")
f_annotation.write("\t )\n")
f_annotation.write(")\n\n")

Expand Down

0 comments on commit 2029837

Please sign in to comment.