Even in debug mode, wing still fails to give the completion suggestions for aiida.
Hi,
Today, I meet a very strange thing. Several days ago, I told that wing can do runtime completion for me but today I find that it fails to do that thing.
See the following minimal example code:
from aiida import load_profile
load_profile()
# * pk 17 - q-e.git-pw@localhost
codename = 'q-e.git-pw@localhost'
from aiida.orm import Code, load_node
from aiida.plugins import CalculationFactory
code = Code.get_from_string(codename)
# code = Code.get(label='q-e.git-pw', machinename='localhost')
# code = load_node(17)
PwCalculation = CalculationFactory('quantumespresso.pw')
builder = PwCalculation.get_builder()
If I put cursor at the last line and debug to that line. Then I check the runtime completion with:
PwCalculation.g<tab>
It gives nothing.
Regards
Comments
Please provide a working example we can try here. The above doesn't work on its own because load_profile() fails and if I comment out that and the call to Code.get_from_string then it fails because I don't have entry point quantumespresso.pw.