neurodocker icon indicating copy to clipboard operation
neurodocker copied to clipboard

Add support for versioned binary installs of AFNI

Open yarikoptic opened this issue 10 months ago • 3 comments

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?

yarikoptic avatar Mar 27 '24 19:03 yarikoptic

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

stebo85 avatar Apr 01 '24 22:04 stebo85

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.

afni-rickr avatar Apr 02 '24 14:04 afni-rickr

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

github-actions[bot] avatar Jun 02 '24 01:06 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Aug 01 '24 01:08 github-actions[bot]