Skip to content

Commit

Permalink
making subject_extractor explicit to match the others
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanDietzMorris committed Sep 17, 2024
1 parent c6241df commit 3bfe265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsers/KinAce/src/loadKinAce.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def parse_data(self) -> dict:
with open(os.path.join(self.data_path, self.interactions_file_name)) as csvfile:
# change to csv reader
extractor.csv_extract(csvfile,
lambda line: f"UniProtKB:{line[DATACOLS.kinase.value]}",
subject_extractor=lambda line: f"UniProtKB:{line[DATACOLS.kinase.value]}",
object_extractor=lambda line: f"UniProtKB:{line[DATACOLS.substrate.value]}",
predicate_extractor=lambda line: "biolink:affects", # predicate
edge_property_extractor=lambda line:
Expand Down

0 comments on commit 3bfe265

Please sign in to comment.