Skip to content

Commit

Permalink
Change model write for gocamgen==0.0.4 convention
Browse files Browse the repository at this point in the history
  • Loading branch information
dustine32 committed Mar 24, 2020
1 parent 181959e commit 7fc7769
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pathway_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,7 @@ def main():
relation_axiom = model.writer.emit_axiom(source_id, property_id, target_id)
model.add_evidence(relation_axiom, "EXP", ["PMID:" + pmid for pmid in pc.pmid])

with open(model.filepath, 'wb') as f:
model.writer.writer.serialize(destination=f)
model.write(args.outfile)

print(skipped_count)

Expand Down

0 comments on commit 7fc7769

Please sign in to comment.