Giter VIP home page Giter VIP logo

Comments (5)

jwodder avatar jwodder commented on September 15, 2024

@kabilar You need to remove the underscores around "_draft_" in order to get a valid DANDI URL.

from handbook.

kabilar avatar kabilar commented on September 15, 2024

Hi @jwodder, the same error occurs with this change.

Command

dandi download https://api.dandiarchive.org/api/dandisets/000023/versions/draft/assets/?path=sub-811677083

from handbook.

jwodder avatar jwodder commented on September 15, 2024

@kabilar Cannot reproduce. Are you using a shell that is configured to error when an argument contains a wildcard (here ?) that doesn't match anything? If so, enclose the URL in quotes.

from handbook.

kabilar avatar kabilar commented on September 15, 2024

Thank you, @jwodder. That fix solved my error. I don't recall specially configuring anything. I am using the default zsh on MacOS. Should we update our docs (i.e. Handbook and Resource Identifiers) to say that quotes are needed for some systems?

Command that worked:

dandi download "https://api.dandiarchive.org/api/dandisets/000023/versions/draft/assets/?path=sub-811677083"

from handbook.

yarikoptic avatar yarikoptic commented on September 15, 2024

For the first one I filed

For the 2nd, I was "not sure" since AFAIK it is quite atypical for a shell to interpret ? within an argument and in my zsh it is all ok

echo 1?2
1?2

But damn that OSX, indeed it brings this "super power" dang it:

yoh@datalads-imac2 ~ % echo 1?2
zsh: no matches found: 1?2
yoh@datalads-imac2 ~ % echo "1?2"
1?2
yoh@datalads-imac2 ~ % echo $SHELL
/bin/zsh

So may be we indeed should or since it is not specific to only this case, might be worth adding a note here but creating some generic "Troubleshooting" describing resolution here?

from handbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.