Skip to content

Commit

Permalink
Merge pull request #374 from datalad/jsheunis-patch-1
Browse files Browse the repository at this point in the history
BUG: fix extractor type in `metadata_record`
  • Loading branch information
christian-monch committed Apr 12, 2023
2 parents d87bff8 + 8229ebd commit 0e834b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion datalad_metalad/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,10 @@ def perform_metadata_extraction(
extracted_metadata=result.immediate_data)
if issubclass(ep.extractor_class, FileMetadataExtractor):
result.datalad_result_dict["metadata_record"].update(
dict(path=ep.file_tree_path)
dict(
type="file",
path=ep.file_tree_path,
)
)

yield result.datalad_result_dict
Expand Down

0 comments on commit 0e834b7

Please sign in to comment.