Unexpected auto-completer behavior when working with aiida
I use wing to test the aiida-core package with the code given here: https://aiida-tutorials.readthedocs.i.... The code snippets are the following:
from aiida import load_profile load_profile() from aiida.orm import Code, Computer, Data, Node, Float, Str from aiida.plugins import CalculationFactory, DataFactory from aiida.engine import calcfunction
In the above code, the
calcfunction only exists in aiida.engine, so it should be imported like this:
from aiida.engine import calcfunction
But when I type the following:
from aiida.orm import c<tab>
then the auto-completer of wing will still suggest the name of
calcfunction as one of the candidates, which if I selected and input there, the code will be error and finally fail to run.
Any hints for this problem?