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

Add support for versioned binary installs of AFNI #600

Open
yarikoptic opened this issue Mar 27, 2024 · 3 comments
Open

Add support for versioned binary installs of AFNI #600

yarikoptic opened this issue Mar 27, 2024 · 3 comments
Labels

Comments

@yarikoptic
Copy link
Member

I want a specific version to get it reproducible, tried

  --afni method=binaries version=24.0.17 \

but then it crashes with

❯ ./generate_container.sh ; docker build -t dsst-temp .
Traceback (most recent call last):
  File "/opt/neurodocker/neurodocker/reproenv/renderers.py", line 77, in _render_string_from_template
    source = tmpl.render(template=template)
  File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 13, in top-level template code
jinja2.exceptions.UndefinedError: 'dict object' has no attribute '24.0.17'

looking at the template, there is only one

  urls:
    latest: https://afni.nimh.nih.gov/pub/dist/tgz/linux_openmp_64.tgz

and that https://afni.nimh.nih.gov/pub/dist/tgz/ contains only those latest builds.

@afni-rickr @afniHQ -- is there an "official" archive of binary AFNI builds somewhere to add support for here?

@stebo85
Copy link
Collaborator

stebo85 commented Apr 1, 2024

It looks like https://afni.nimh.nih.gov/pub/dist/tgz/AFNI_ARCHIVE/ contains all older builds

@afni-rickr
Copy link

We have internal backups, not named by tag, but no externally reachable storage of all compiled packages.
The AFNI_ARCHIVE directory contains only snapshots of distributed src trees, which are probably better retrieved via git and tags.
We will revisit this, thanks.

Copy link

github-actions bot commented Jun 2, 2024

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants