BIC-MNI / minc-toolkit-v2

Version 2 of the minc-toolkit, uses tools based on ITK version 4.x
GNU General Public License v3.0
49 stars 21 forks source link

Elastix commit not available when cloning branch develop-1.9.19 #142

Closed antoimau closed 2 years ago

antoimau commented 2 years ago

Hello,

I try to build and use the latest development version of the minc-toolkit. So I tried the following:

$ git clone --recursive --branch develop-1.9.19 https://github.com/BIC-MNI/minc-toolkit-v2.git minc-toolkit-v2

But this call would fail to grab and clone the Elastix submodule and displaying this error message:

fatal: remote error: upload-pack: not our ref a960cd3297e3d84902493a08423a2a4d034549ce
fatal: The remote end hung up unexpectedly
Fetched in submodule path 'Elastix', but it did not contain a960cd3297e3d84902493a08423a2a4d034549ce. Direct fetching of that commit failed.

Also after I go inside the repository I just cloned, the folder Elastiux would be empty. When I am browsing the https://github.com/BIC-MNI/minc-toolkit-v2 page and selecting develop-1.9.19, if we go inside the Elastix submodule, we would get an Error 404 web page saying the content is not available.

Did I do something wrong here? I feel the commit of Elastix associated with the branch develop-1.9.19 is somehow bad but I could be wrong.

Thanks guys

vfonov commented 2 years ago

That's strange: https://github.com/vfonov/elastix/commit/a960cd3297e3d84902493a08423a2a4d034549ce

vfonov commented 2 years ago

not that this is early development version, Elastix doesn't even compile yet

gdevenyi commented 2 years ago

The submodule is pointing to a non-existent repo,

https://github.com/vfonov/elastix-1/tree/a960cd3297e3d84902493a08423a2a4d034549ce

gdevenyi commented 2 years ago

Try doing a regular clone without the branch option and then git checkout and git submodule update --recursive