I am working on transitioning my research group from Matlab to Julia, in 
part because of the wonderful language and because of the ability of IJulia 
notebooks to so nicely encapsulate the analysis steps along the way from 
raw data to a completed figure. To us, notebooks are a much more robust 
method to visualize intermediate results than the common approach of 
commenting out different sections of a complex mFile script. But we are 
stuck on how to discover the name of the current notebook. This is 
important because we want to paste the final analysis output into an 
electronic laboratory notebook along with an automatically generated figure 
title that contains enough information to recreate the analysis, including 
the notebook name and the current Git tag for the laboratory source file 
repository. While this seems straightforward to us, I gather from this 2012 
discussion thread related to IPython notebooks that this goes a bit against 
the grain of how notebooks were intended to be used. Is there an easy way 
to get the notebook name using Julia code or to implement the Javascript 
magics method outlined in the SO link? [Using Julia 0.3.3 on Win7x64]


http://stackoverflow.com/questions/12544056/how-to-i-get-the-current-ipython-notebook-name

Reply via email to