Skip to content

Conversation

@JamesWrigley
Copy link
Member

IJulia evaluates cells with the source file set to e.g. In[3]. artifact_str only supports the REPL prefix so calling artifact"foo" in a notebook would fail. Also fixed a wee typo in the docstring.

Disclaimer: I'm not sure this is the best way to fix it. Hardcoding support for an external package (even one as important as IJulia) into a stdlib feels a bit wack. But I'm also not aware of any API to get the prefix, and I don't know of any other package that needs such support.

Fixes JuliaLang/IJulia.jl#1060.

IJulia evaluates cells with the source file set to e.g. `In[3]`. `artifact_str`
only supports the REPL prefix so calling `artifact"foo"` in a notebook would
fail.
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 this pull request may close these issues.

Cannot locate Artifacts.toml

2 participants