Closed adswa closed 2 years ago
I am not able to reproduce this anymore. The thing I did between opening this issue and now is having lunch - no code change, branch switches, etc. Very weird. Closing, and fingers crossed it doesn't show up anymore.
I saw it again on Windows, this time with get
: In the simplified interface, upon selecting get
from the right-click menu of a subjects subdirectory in a clone of the studyforrest dataset, dataset and path were nicely and correctly preconfigured. However, the command failure suggests that the dataset passed to the command is the location I had invoked the gooey from, which in my case was the datalad-gooey source repo.
I triggered it with a save
as well: I selected a subdataset in the directory picker, and ran a save command without any further configuration. It reported success:
Running: Dataset('/home/adina/containers/artwork').save(to_git=False)
add(ok): .idea/$CACHE_FILE$ (file)
add(ok): .idea/.gitignore (file)
add(ok): .idea/codeStyles/Project.xml (file)
add(ok): .idea/codeStyles/codeStyleConfig.xml (file)
add(ok): .idea/datalad-gooey.iml (file)
add(ok): .idea/inspectionProfiles/Project_Default.xml (file)
add(ok): .idea/inspectionProfiles/profiles_settings.xml (file)
add(ok): .idea/libraries/R_User_Library.xml (file)
add(ok): .idea/misc.xml (file)
add(ok): .idea/modules.xml (file)
[1 similar message has been suppressed; disable with datalad.ui.suppress-similar-results=off]
[1 similar message has been suppressed; disable with datalad.ui.suppress-similar-results=off]
save(ok): . (dataset)
action summary:
add (ok: 11)
save (ok: 1)
But the actual dataset where contents were saved was the ~/repos/datalad-gooey
repo from which I started the gooey from:
adina@muninn in ~/containers on git:master!
❱ git -C ~/repos/datalad-gooey/ log .idea
commit ca19316ac57a0f9dcd00e16f8d858590dfeb6b19 (HEAD -> dynparams)
Author: adina <adina@muninn.inm7.de>
Date: Tue Sep 20 11:15:09 2022 +0200
[DATALAD] Recorded changes
Is this observed before or after #151?
With both, the latest tests are on top of #151
I opened the GUI from the terminal in
/home/adina/repos/datalad-gooey
, and pickedhome/adina/containers
as the directory to be opened. I filled the parameter widget ofclone
with/tmp/mynewdataset
for path (a new directory created within the path picker) and/home/adina/repos/data/human-connectome-project-openaccess
for source. I left theDataset location
field empty. Cloning failed with the following, suggesting that my CWD (/home/adina/repos/datalad-gooey
) would be set as a dataset when it wasn't:Importantly, when I retried the exact command again afterwards it worked: It looks like an internal
dataset
might have gotten unset between the two commands.