Skip to content

using a dataset in an analysis #188

Answered by lucasgautheron
alecristia asked this question in Q&A
Discussion options

You must be logged in to vote

The best practice is to do dataset nesting.
In other words, you should install EL1000 as a subdataset of your analysis.

You can do this from your analysis subfolder:

datalad install -d .  --source='https://gin.g-node.org/EL1000/EL1000' -r

The -r flag is here because EL1k contains subdatasets itself. You can have a look at datalad install's documentation here: http://docs.datalad.org/en/stable/generated/man/datalad-install.html

Then you can then cd into EL1000 and do what you need (e.g. download the files required by your analysis):

cd EL1000
datalad run-procedure setup
datalad get */annotations/*/converted

If EL1000 is updated, you will need to pull the changes in your analysis:

git pull …

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@alecristia
Comment options

alecristia Apr 27, 2021
Maintainer Author

Answer selected by lucasgautheron
Comment options

You must be logged in to vote
1 reply
@alecristia
Comment options

alecristia Apr 29, 2021
Maintainer Author

Comment options

You must be logged in to vote
6 replies
@lucasgautheron
Comment options

@alecristia
Comment options

alecristia Apr 29, 2021
Maintainer Author

@alecristia
Comment options

alecristia Apr 29, 2021
Maintainer Author

@lucasgautheron
Comment options

@alecristia
Comment options

alecristia Apr 30, 2021
Maintainer Author

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants