Skip to content

Commit

Permalink
fixing copytree parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
TheChymera committed Jul 5, 2022
1 parent 306b2f9 commit 8512bd4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions dandi/tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,11 +412,13 @@ def zarr_dandiset(new_dandiset: SampleDandiset) -> SampleDandiset:


@pytest.fixture()
def bids_dandiset(
new_dandiset: SampleDandiset, bids_examples: str
) -> SampleDandiset:
def bids_dandiset(new_dandiset: SampleDandiset, bids_examples: str) -> SampleDandiset:

shutil.copytree(os.path.join(bids_examples, "asl003"), str(new_dandiset.dspath))
shutil.copytree(
os.path.join(bids_examples, "asl003"),
str(new_dandiset.dspath),
copy_function=shutil.copy,
)
return new_dandiset


Expand Down

0 comments on commit 8512bd4

Please sign in to comment.