Separate out a true source dataset #7

Open
opened 2024-03-06 07:27:17 +00:00 by mih · 0 comments
mih commented 2024-03-06 07:27:17 +00:00 (Migrated from github.com)

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 git@github.com: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

Here is a log of what was done. ```bash # 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 git@github.com: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 in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sfb1451/a06-inf-clustered-network-pub#7
No description provided.