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

[BUG]: DataladDatagrabber is not using the WorkdirManager #386

Open
1 task done
fraimondo opened this issue Oct 24, 2024 · 0 comments
Open
1 task done

[BUG]: DataladDatagrabber is not using the WorkdirManager #386

fraimondo opened this issue Oct 24, 2024 · 0 comments
Labels
bug Something isn't working triage New issues waiting to be reviewed

Comments

@fraimondo
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When using any DataladBase datagrabber, I observed that it was being cloned in a directory outside what I've set in the workdir manager.

Expected Behavior

The datasets should be cloned within the workdir manager path

Steps To Reproduce

  1. Run any yaml with debug logging and set the workdir to something else than /tmp
  2. Check where the dataset is being cloned

Environment

junifer:
  version: 0.0.6.dev176
python:
  version: 3.12.6
  implementation: CPython
dependencies:
  click: 8.1.7
  numpy: 1.26.4
  scipy: 1.14.1
  datalad: 1.1.3
  pandas: 2.2.2
  nibabel: 5.2.1
  ruamel.yaml: 0.17.40
  looseversion: None
system:
  platform: Linux-6.6.13+bpo-amd64-x86_64-with-glibc2.36
environment:
  PATH:
    /data/group/appliedml/tools/ants_2.5.0/binaries:/home/fraimondo/miniconda3/envs/junifer/bin:/home/fraimondo/miniconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/games

Relevant log output

No response

Anything else?

Check this:

tmpdir = Path(tempfile.mkdtemp())
datadir = tmpdir / "datadir"

@fraimondo fraimondo added bug Something isn't working triage New issues waiting to be reviewed labels Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage New issues waiting to be reviewed
Projects
None yet
Development

No branches or pull requests

1 participant