-
Notifications
You must be signed in to change notification settings - Fork 15
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
Cannot work out file type of "sub-barcelona01_T1w.nii.gz" #78
Comments
Hi,
If the file name is only ~100Bytes then it confirms you did not download the data. Next question is: if you followed the doc, you should have downloaded the data-- adding @kousu in the thread |
The file size in only 106 Bytes, so it clearly did not download the data! I get this output:
|
first thing i notice is that:
Putting a "/" before the folder name means, in UNIX convention, that you are fetching the root "/", which is wrong. For local folder, you should write "./" (or nothing at all) |
@alexfoias and/or @kousu can you pls help @claragiroux -- thanks |
Good eye @jcohenadad, that's definitely one problem. But the other folders didn't start with '/' so they should have been downloaded I think. There definitely should have been some output. Hi @claragiroux. I can tell you're using WSL from the logs. Is it possible you're using
Can you try that? Also, can you run
and
and copy the results out? Thanks! |
Thanks! I definitely missed that typo! I can see that I have git-annex version 6.20180227 with Ubuntu 18.04. Here are the results for the commands you asked @kousu :
|
@kousu it is not the first time (and thus not the last time) that users fail to verify their git-annex version. I suggest to slightly modify the doc, to make it an explicit and isolated step, e.g.: STEP X: Install git-annex version 8.
The output should show something like this:
If it is not the case, you will not be able to download the data. note: i wrote this fast-- this should be "polished" |
git-annex 6 is really really old. Debian and therefore Ubuntu spread packages the way journals spread knowledge unfortunately. Are you able to install the more recent version? You should just be able to click https://www.microsoft.com/store/apps/9n6svws3rx71 to get it. I know that means you'll have to reinstall SCT and everything else. Do you think it would be a lot of work for you? |
Thanks so much for the help! I have access to an old Mac, so I'll download the data on it, this way it will be much faster than installing a new version of Ubuntu! |
@kousu many researchers have Ubuntu 18.04. Isn't there an "easy" way to get git-annex v8 on this distro? |
The easy way is The workaround is |
There's a GUI too: https://ubuntu.com/blog/how-to-upgrade-from-ubuntu-18-04-lts-to-20-04-lts-today. |
great, thank you. Just for the context: many academic labs have their servers "stuck" to old distros because:
so it if far from uncommon to encounter SCT users who simply cannot upgrade the distros they are working on; the conda workaround will definitely prove useful. |
I downloaded the images for a few subjects using :
git annex get /sub-oxfordFmrib01/ sub-unf01/ sub-tokyoSkyra01/ sub-stanford01/ sub-milan01/ sub-geneva01/ sub-barcelona01/ sub-hamburg01/ sub-strasbourg01/ sub-tehranS01/
(There is no output when calling this, I'm not sure if it's normal)However, I'm having trouble using the images. Whenever I try to open them with FSLeyes or to process them with sct_run_batch it says that it
cannot work out file type of "sub-barcelona01_T1w.nii.gz"
Here is one of the logs:
err.process_data_sub-barcelona01.log
The text was updated successfully, but these errors were encountered: