aiida-tutorials icon indicating copy to clipboard operation
aiida-tutorials copied to clipboard

👌 IMPROVE: Use Jupyter notebooks for executing "Running calculations" section

Open ltalirz opened this issue 5 years ago • 3 comments
trafficstars

We currently suggest using the verdi shell for section 3.4 "Creating and launching calculations", and to copy things into a script.

Copying multi-line strings from the ipython shell is very tedious (prompts, extra dots, ...), and we should probably suggest running this subsection in the jupyter notebook server instead.

https://aiida-tutorials--245.org.readthedocs.build/en/245/pages/2020_Intro_Week/sections/running.html#creating-and-launching-calculations

ltalirz avatar Jul 05 '20 09:07 ltalirz

I'm all for using notebooks 👍 Although I would note that, with my update of sphinx-copybutton (https://github.com/executablebooks/sphinx-copybutton/pull/82), the code cells copy button will now copy ipython shell lines, with prefixes removed 😁 (give it a go)

chrisjsewell avatar Jul 08 '20 22:07 chrisjsewell

Right, but if I remember correctly, they may need to copy their own code (PKs etc. )

ltalirz avatar Jul 09 '20 05:07 ltalirz

@ramirezfranciscof we'll discuss how to execute this once you have a better idea of the content for the "Running calculations" section.

mbercx avatar Jun 09 '21 10:06 mbercx