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

Separate out a true source dataset #7

Open
mih opened this issue Mar 6, 2024 · 0 comments
Open

Separate out a true source dataset #7

mih opened this issue Mar 6, 2024 · 0 comments

Comments

@mih
Copy link

mih commented Mar 6, 2024

Here is a log of what was done.

# create a new dataset, no git-annex, the data is small,
# public and can live in any place that supports git-hosting
❯ datalad create --no-annex joe_and_lili_pickle
❯ cd joe_and_lili_pickle
# link the source dataset on GIN
❯ datalad clone -d . https://gin.g-node.org/nawrotlab/EI_clustered_network.git  source/EI_clustered_network
# extract the pickled source data
# capture provenance record of that
❯ datalad run -i source/EI_clustered_network/pickle -o data 'sh -c "cp -LRv {inputs} {outputs}"'
# also document the origin of the license
❯ datalad run -i source/EI_clustered_network/LICENSE -o LICENSE 'sh -c "cp -LRv {inputs} {outputs}"'
# push to github
❯ git remote add origin [email protected]:psychoinformatics-de/joe_and_lili_pickle.git
❯ git branch -M main
❯ git push -u origin main

The outcome is: https://github.com/psychoinformatics-de/joe_and_lili_pickle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant