JuliaDebug/CodeTracking.jl

"definition" cannot read function defined within Jupyter notebook

Aperta

#51 aperta il 29 gen 2020

 (6 commenti) (0 reazioni) (0 assegnatari)Julia (11 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (150 stelle)
Metriche merge PR
 (Merge medio 47m) (3 PR mergiate in 30 g)

Descrizione

When calling definition in a Jupyter notebook:

f(x,y) = x^2 + y^2
definition(String, @which(f(Int,Int)))

I get the following error: SystemError: opening file "In[52]": No such file or directory

Seems to just not handled reading from the notebook's In because it works when reading from functions defined purely in the REPL.

Guida contributor