dandi / dandisets

740 Dandisets, 812.1 TB total. DataLad super-dataset of all Dandisets from https://github.com/dandisets
10 stars 0 forks source link

FTR: might need code tune up to create remote siblings #160

Closed yarikoptic closed 1 year ago

yarikoptic commented 2 years ago

there were crashing runs for various reasons (absent credentials for dandizarrs etc), and I saved some intermittent state (looked kosher). datalad push ended up with few errors which were due to github remote not defined:

publish(ok): 000239 (dataset) [refs/heads/git-annex->github:refs/heads/git-annex 8000844..f9ef44b]
publish(error): 000243/sub-S01/anat/sub-S01_T2w.ngff (dataset) [Unknown target sibling 'github'.]
publish(error): 000251 (dataset) [Unknown target sibling 'github'.]
publish(ok): . (dataset) [refs/heads/draft->github:refs/heads/draft f04767b..ff99341]
                                                                                                                                                                                                                                                                   action summary:
  copy (notneeded: 2197)
  publish (error: 2, notneeded: 304, ok: 40)
(base) dandi@drogon:/mnt/backup/dandi/dandisets$ cd 000243/sub-S01/anat/sub-S01_T2w.ngff
(base) dandi@drogon:/mnt/backup/dandi/dandisets/000243/sub-S01/anat/sub-S01_T2w.ngff$ ls
0  1  2  3  4
(base) dandi@drogon:/mnt/backup/dandi/dandisets/000243/sub-S01/anat/sub-S01_T2w.ngff$ git remote
origin
(base) dandi@drogon:/mnt/backup/dandi/dandisets/000243/sub-S01/anat/sub-S01_T2w.ngff$ git remote show origin
* remote origin
  Fetch URL: https://github.com/dandizarrs/7723d02f-1f71-4553-a7b0-47bda1ae8b42
  Push  URL: https://github.com/dandizarrs/7723d02f-1f71-4553-a7b0-47bda1ae8b42
  HEAD branch: draft
  Remote branches:
    draft     tracked
    git-annex tracked
  Local branch configured for 'git pull':
    draft merges with remote draft
  Local refs configured for 'git push':
    draft     pushes to draft     (up to date)
    git-annex pushes to git-annex (fast-forwardable)

Making a note of this and will redo the full run (now credentials are known) but these two dandisets should be checked later if all is good

yarikoptic commented 1 year ago

I don't think it is actionable ATM , so will close