JuliaInterop / NBInclude.jl

import code from IJulia Jupyter notebooks into Julia programs
Other
117 stars 17 forks source link

,softscope=true or ;softscope=true #17

Closed PaulSoderlind closed 4 years ago

PaulSoderlind commented 4 years ago

@nbinclude("n1.ipynb",softscope=true)

gives an error on Julia 1.2.0 (and 1.3.0-rc4.1) on Win10: ERROR: syntax: invalid keyword argument name "Array{Any, (2,)}[ :softscope, true]"

Changing to @nbinclude("n1.ipynb";softscope=true) (notice: semi-colon ;) solves the problem.

Suggestion: change the README.md to reflect this (or else, change the code)