Hi all;
I have a question about tutorials.
I'm new on AiiDA. After I run AiiDA via Quantum Mobile and downloaded all updates&upgrades, I have tried Tutorials section.
In the Data Node field, I've applied below commands;
"In [1]: from aiida.engine import calcfunction
In [2]: def multiply(x,y):
...: return x * y
...:
In [3]: x = load_node(pk=187) """at first try, pk was given as 187"""
In [4]: y = Int(3)
In [5]: multiply(x,y)
Out[5]: <Int: uuid: 394ccf0d-1a7a-4268-8811-1a6a4ab57574 (unstored) value: 3>"
As you see, the new variable is "unstored".
But, this link states: "However, we can use a Python decorator provided by AiiDA to automatically make it part of the provenance graph" -- that means it should be stored such as """[Int: uuid: 394ccf0d-1a7a-4268-8811-1a6a4ab57574 (250) value: 3]""" bu no chance.
Then I checked and installed the aforementioned "decorator" with the command "sudo apt-get install -y python3-decorator".
Then, after reboot, when I try again the function, the new (third) variance still not saved to the database as "stored".
Where did i do wrong? Does anybody know how I fix it?
Thanks.
Best Regards.