First time here? Check out the FAQ!

Revision history  [back]

Even in debug mode, wing still failed 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

Even in debug mode, wing still failed 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

Even in debug mode, wing still failed 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