Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dataset): Annex TSV files in phenotype directory #2940

Merged
merged 1 commit into from
Nov 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions docs/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,18 @@ OpenNeuro validates the size of regular git (non-annexed) files and a subset of
A recommended `.gitattributes` configuration for git-annex to automate annexing the correct files when using `git add` or `datalad save`

```
* annex.largefiles=largerthan=1mb
* annex.backend=SHA256E
**/.git* annex.largefiles=nothing
*.bval annex.largefiles=nothing
*.bvec annex.largefiles=nothing
*.json annex.largefiles=nothing
*.tsv annex.largefiles=nothing
*.json annex.largefiles=largerthan=1mb
phenotype/*.tsv annex.largefiles=anything
*.tsv annex.largefiles=largerthan=1mb
dataset_description.json annex.largefiles=nothing
.bidsignore annex.largefiles=nothing
CHANGES annex.largefiles=nothing
README annex.largefiles=nothing
README* annex.largefiles=nothing
LICENSE annex.largefiles=nothing
```

## Credential Helper
Expand Down
1 change: 1 addition & 0 deletions services/datalad/datalad_service/tasks/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*.bval annex.largefiles=nothing
*.bvec annex.largefiles=nothing
*.json annex.largefiles=largerthan=1mb
phenotype/*.tsv annex.largefiles=anything
*.tsv annex.largefiles=largerthan=1mb
dataset_description.json annex.largefiles=nothing
.bidsignore annex.largefiles=nothing
Expand Down
1 change: 1 addition & 0 deletions services/datalad/hooks/pre-receive
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ readonly GIT_ATTRIBUTES="* annex.backend=SHA256E
*.bval annex.largefiles=nothing
*.bvec annex.largefiles=nothing
*.json annex.largefiles=largerthan=1mb
phenotype/*.tsv annex.largefiles=anything
*.tsv annex.largefiles=largerthan=1mb
dataset_description.json annex.largefiles=nothing
.bidsignore annex.largefiles=nothing
Expand Down