In several parts of the tutorial we use wget to download files:
|
```{code-block} console |
|
$ wget https://aiida-tutorials.readthedocs.io/en/tutorial-2021-intro/_downloads/ea4486c5b943d172e522da9bc9dc56ae/Si.pbe-n-rrkjus_psl.1.0.0.UPF |
|
``` |
The idea was that it's easy to copy paste and use on a remote machine, whereas download roles will often be clicked, and then the file still has to be uploaded to the remote machine. Of course users could also right click, copy the link and then use wget. The annoying thing about the wget lines is that you only get the link to the correct branch after it is published, and so it would also have to be changed. Not very maintenance-friendly.
So perhaps it's better just to stick with download roles and repeat the right-click + wget trick a bunch of times.
In several parts of the tutorial we use
wgetto download files:aiida-tutorials/docs/sections/running_processes/basics.md
Lines 56 to 58 in 9696629
The idea was that it's easy to copy paste and use on a remote machine, whereas
downloadroles will often be clicked, and then the file still has to be uploaded to the remote machine. Of course users could also right click, copy the link and then usewget. The annoying thing about thewgetlines is that you only get the link to the correct branch after it is published, and so it would also have to be changed. Not very maintenance-friendly.So perhaps it's better just to stick with
downloadroles and repeat the right-click +wgettrick a bunch of times.