From d1fe6966e985ff1925f35b7ed32bd56f35139dff Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 14 Sep 2023 12:11:40 -0400 Subject: [PATCH 1/2] [DATALAD RUNCMD] run codespell throughout fixing typo automagically === Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ --- datalad_metalad/extractors/tests/test_runprov.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datalad_metalad/extractors/tests/test_runprov.py b/datalad_metalad/extractors/tests/test_runprov.py index 0288792e..4b1e3d66 100644 --- a/datalad_metalad/extractors/tests/test_runprov.py +++ b/datalad_metalad/extractors/tests/test_runprov.py @@ -104,7 +104,7 @@ def test_custom_dsmeta(path=None): res = ds.meta_extract(extractorname='metalad_runprov') # only a single results assert_result_count(res, 1) - # 2 actvities, 1 agent, 2 generated entities + # 2 activities, 1 agent, 2 generated entities eq_(len(res[0]['metadata_record']['extracted_metadata']['@graph']), 3) # all properly ID'ed assert(all('@id' in d for d in res[0]['metadata_record']['extracted_metadata']['@graph'])) From d93dc523430332923bf89d81e72e6377b8901b0c Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 14 Sep 2023 12:12:41 -0400 Subject: [PATCH 2/2] Few more typos fixed manually --- datalad_metalad/extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datalad_metalad/extract.py b/datalad_metalad/extract.py index 30d67818..50fc0b14 100644 --- a/datalad_metalad/extract.py +++ b/datalad_metalad/extract.py @@ -217,7 +217,7 @@ class Extract(Interface): an even number of extractor arguments. If dataset level extraction should be performed and you want to - provide extractor arguments. you have tp specify + provide extractor arguments. You have to specify '--force-dataset-level' to ensure dataset-level extraction. i.e. to prevent interpretation of the key of the first extractor argument as path for a file-level extraction.""",