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

dandi download might generate "suboptimal" yaml #58

Closed
yarikoptic opened this issue Mar 17, 2020 · 0 comments · Fixed by #59
Closed

dandi download might generate "suboptimal" yaml #58

yarikoptic opened this issue Mar 17, 2020 · 0 comments · Fixed by #59

Comments

@yarikoptic
Copy link
Member

$> dandi download https://gui.dandiarchive.org/\#/folder/5e6d855776569eb93f451e50
2020-03-16 23:49:38,770 [    INFO] Downloading folder with id 5e6d855776569eb93f451e50 from https://girder.dandiarchive.org/
2020-03-16 23:49:38,885 [    INFO] Traversing remote dandisets (000002) recursively and downloading them locally
2020-03-16 23:49:38,885 [    INFO] Updating fdandiset.yaml from obtained dandiset metadata
(dev3) 3 10975.....................................:Mon 16 Mar 2020 11:49:39 PM EDT:.
smaug:/mnt/datasets/dandi
$> cat 000002/dandiset.yaml                                           
# DO NOT EDIT this file manually.
# It can be edied online and obtained from the dandiarchive.
# It also gets updated using dandi organize
{description: 'Activity in the mouse anterior lateral motor cortex (ALM) instructs
    directional movements, often seconds before movement initiation. It is unknown
    whether this preparatory activity is localized to ALM or widely distributed within
    motor cortex. Here we imaged activity across motor cortex while mice performed
    a whisker-based object localization task with a delayed, directional licking response.
    During tactile sensation and the delay epoch, object location was represented
    in motor cortex areas that are medial and posterior relative to ALM, including
    vibrissal motor cortex.', identifier: '000002', name: Anticipatory Activity in
    Mouse Motor Cortex}
$> dandi --version
0.4.1+2.g21b8505

but on my laptop -- it is all good... So likely it is a version of yaml and/or parameters to it. We need dandi wtf (hence new #57).

on bad host:

smaug:/mnt/datasets/dandi
$> welp yaml
PATH       : /usr/lib/python3/dist-packages/yaml/__init__.py
SRC PATH   : /usr/lib/python3/dist-packages/yaml/__init__.py
VERSION    : Not found
__version__: '3.13'
PACKAGE    : python3-yaml
ii  python3-yaml   3.13-2       amd64        YAML parser and emitter for Python3

on good:

$> welp yaml   
PATH       : /usr/lib/python3/dist-packages/yaml/__init__.py
SRC PATH   : /usr/lib/python3/dist-packages/yaml/__init__.py
VERSION    : Not found
__version__: '5.3'
PACKAGE    : python3-yaml
ii  python3-yaml   5.3-1        amd64        YAML parser and emitter for Python3
python3-yaml:
  Installed: 5.3-1
  Candidate: 5.3-2
  Version table:
     5.3-2 900
        900 http://deb.debian.org/debian bullseye/main amd64 Packages
        600 http://http.debian.net/debian sid/main amd64 Packages
 *** 5.3-1 100
        100 /var/lib/dpkg/status

I feel that I had such issue somewhere but now it is too late to try to remember on how to overcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant