Repository navigation
Stop rendering subdatasets results - #7094
Conversation
Disables subdataset result renderer inside run_procedure. This is an internal call, so results are not needed. Fixes datalad#7091. Co-authored-by: Michael Hanke <michael.hanke@gmail.com>
Codecov ReportBase: 76.01% // Head: 88.87% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## maint #7094 +/- ##
===========================================
+ Coverage 76.01% 88.87% +12.86%
===========================================
Files 355 355
Lines 59101 46419 -12682
Branches 6318 0 -6318
===========================================
- Hits 44925 41257 -3668
+ Misses 14162 5162 -9000
+ Partials 14 0 -14
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
| - Stop rendering the output of internal `subdatset()` call in the | ||
| results of `run_procedure()`. | ||
| Fixes https://github.com/datalad/datalad/issues/7091 via | ||
| https://github.com/datalad/datalad/pull/7094 (by @mslw & @mih) |
There was a problem hiding this comment.
might want to make @mslw and @mih into hyperlinks
There was a problem hiding this comment.
Done. Also changed issue/PR into formatted links. I started with an old snippet template, that's why I didn't do it right away.
yarikoptic
left a comment
There was a problem hiding this comment.
looks good to me . Travis fail is test_ExtractedArchive which I believe is known although I thought we dealt with
extracted_files = earchive.get_extracted_files()
ok_generator(extracted_files)
try:
eq_(sorted(extracted_files),
sorted([
# ['bbc/3.txt', 'bbc/abc']
op.join(fn_archive_obscure, fn_in_archive_obscure),
> op.join(fn_archive_obscure, '3.txt')
]))
../datalad/tests/test_archives.py:219:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
first = [' |;&%b5{}\'"<>ΔЙקم๗あ .dbtc / |;&%b5{}\'"<>ΔЙקم๗あ .datc ']
second = [' |;&%b5{}\'"<>ΔЙקم๗あ .dbtc / |;&%b5{}\'"<>ΔЙקم๗あ .datc ', ' |;&%b5{}\'"<>ΔЙקم๗あ .dbtc /3.txt']
msg = None
def assert_equal(first, second, msg=None):
if msg is None:
> assert first == second
E assert [' |;&%b5{}\'...Йקم๗あ .datc '] == [' |;&%b5{}\'....dbtc /3.txt']
E Right contains one more item: ' |;&%b5{}\'"<>ΔЙקم๗あ .dbtc /3.txt'
E Full diff:
E [
E ' |;&%b5{}\'"<>ΔЙקم๗あ .dbtc / |;&%b5{}\'"<>ΔЙקم๗あ .datc ',
E - ' |;&%b5{}\'"<>ΔЙקم๗あ .dbtc /3.txt',
E ]
../datalad/tests/utils_pytest.py:107: AssertionError
|
@yarikoptic |
|
Thx, @mslw! |
|
PR released in |
Disables
subdatasetresult renderer insiderun_procedure.The
subdatasetcall was internal, and its results do not need to be rendered.I applied a patch proposed by @mih in #7091.
Fixes #7091