I am writing my first small package.
I found Nemo useful for my purpose and I am using it in my package.
But it comes with a small trouble:
it prints a banner in the Jupyter notebook when it is loaded.
Below is the code from Nemo where this happens.
Would you see how to mute this banner from within my package?
I could mute it by adding something within the Jupyter notebook:
- either setting ENV[“NEMO_PRINT_BANNER”]=…
- or using redirect_stdout()
But this is almost as annoying as the banner itself !
Adding these commands within the package doesn’t work!
if isinteractive() && !any(x -> x.name in ("Hecke", "Oscar", "Singular"), keys(Base.package_locks)) && get(ENV, "NEMO_PRINT_BANNER", "true") != "false" println("") println("Welcome to Nemo version $(version())") println("") println("Nemo comes with absolutely no warranty whatsoever") println("") end