Skip to content

Commit

Permalink
Merge pull request #258 from datalad/issue-255-disable-subdataset-ren…
Browse files Browse the repository at this point in the history
…derer

Disable result renderer in subdataset in core extractor calls
  • Loading branch information
christian-monch authored Jun 22, 2022
2 parents 11a0b6d + aa23618 commit 29a2b95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion datalad_metalad/extractors/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ def _yield_dsmeta(self, ds, status, refcommit, process_type,
}
subdsid = ds.subdatasets(
contains=subds['path'],
return_type='item-or-list').get('gitmodule_datalad-id', None)
return_type='item-or-list',
result_renderer="disabled").get('gitmodule_datalad-id', None)
if subdsid:
subdsinfo['identifier'] = 'datalad:{}'.format(subdsid)
parts.append(subdsinfo)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ coverage
sphinx>=1.7.8
sphinx-rtd-theme
pyyaml
datalad-metadata-model>=0.3.0,<0.4.0
datalad-metadata-model>=0.3.1,<0.4.0

0 comments on commit 29a2b95

Please sign in to comment.