Skip to content

Commit

Permalink
Added command to unlock annex repo to restore files from symbolic links.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikhil Chandra committed Sep 18, 2024
1 parent 7d90ba9 commit f14ab1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neo/utils/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def download_dataset(repo=default_testing_repo, remote_path=None, local_folder=N
# make sure git repo is in clean state
repo = dataset.repo
repo.call_git(["checkout", "--force", "master"])
repo.unlock(remote_path)
dataset.update(merge=True)
else:
dataset = datalad.api.install(path=local_folder, source=repo)
Expand Down

0 comments on commit f14ab1b

Please sign in to comment.