Skip to content

Commit

Permalink
Update scibite_cord.py
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakunni3 committed Apr 10, 2020
1 parent 2e2fb44 commit 4edfd94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kg_covid_19/transform_utils/scibite_cord/scibite_cord.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def parse_annotations(self, node_handle: Any, edge_handle: Any, data_file: str)

subsets = ['biorxiv_medrxiv', 'comm_use_subset', 'noncomm_use_subset', 'custom_license']
for subset in subsets:
data_dir = os.path.join(self.input_base_dir, 'data', subset, subset)
data_dir = os.path.join(self.input_base_dir, 'CORD19', subset, subset)
for filename in os.listdir(data_dir):
file = os.path.join(data_dir, filename)
doc = json.load(open(file))
Expand Down

0 comments on commit 4edfd94

Please sign in to comment.