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

Remove niftyreg binaries from package #116

Closed
dstansby opened this issue Mar 30, 2023 · 5 comments
Closed

Remove niftyreg binaries from package #116

dstansby opened this issue Mar 30, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@dstansby
Copy link
Member

In the future we should remove the niftyreg binaries from the packages, and give users clear instructures on how to install niftyreg from conda-forge.

@dstansby dstansby added the enhancement New feature or request label Mar 30, 2023
@adamltyson
Copy link
Member

Or even better, just move to conda install -c conda-forge brainreg as the default installation option.

@lacan
Copy link

lacan commented Aug 11, 2023

Perhaps linked to this, but on a windows installation using Mamba, the niftyreg binaries are installed in
CONDA_PREFIX\Library\bin

Whereas in your conda_install_path method in niftyreg_binaries.py references them as being in
CONDA_PREFIX\bin

def conda_install_path() -> Optional[Path]:

Moreover, your test if (bin_path / "reg_aladin").exists() returns False for me, as the only way to get it to return True is to add .exe

if (bin_path / "reg_aladin.exe").exists():

So I guess you'd need to separate between Windows and Mac/Linux?

Perhaps this is not the way, but it's the only way I managed to get Brainreg to work

@adamltyson
Copy link
Member

@willGraham01 is this something you could take a look at?

@willGraham01
Copy link
Contributor

willGraham01 commented Aug 18, 2023

Will take a look this afternoon & next week. Would like to merge #132 in first before making any changes though.

@willGraham01
Copy link
Contributor

Hi @lacan - taking a look at this, this morning. Just a couple of questions if that's OK:

Moreover, your test if (bin_path / "reg_aladin").exists() returns False for me, as the only way to get it to return True is to add .exe
if (bin_path / "reg_aladin.exe").exists():

Did you need to edit the bin_path variable (defined on the line above the one you reference) to CONDA_PREFIX\Library in addition to adding .exe, or did just adding .exe to reg_aladin work?

Can I also ask whether you had to add ".exe" to the program names in parameter.py to get the registration to work (the lines are here)?

@adamltyson adamltyson closed this as not planned Won't fix, can't repro, duplicate, stale Nov 24, 2023
@github-project-automation github-project-automation bot moved this from Backlog to Done in Core development Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

4 participants