Skip to content

Commit

Permalink
fix: get key properly for git-files
Browse files Browse the repository at this point in the history
  • Loading branch information
bpinsard committed Feb 21, 2024
1 parent 328aae8 commit 78db99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heudiconv/external/dlad.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def add_to_datalad(
# not in effect! ?
# annex_add_opts=['--include-dotfiles']
)
annexed_files = [sr["path"] for sr in save_res if sr["key"]]
annexed_files = [sr["path"] for sr in save_res if sr.get("key", None)]

# Provide metadata for sensitive information
sensitive_patterns = [
Expand Down

0 comments on commit 78db99e

Please sign in to comment.