First time here? Check out the FAQ!

Revision history  [back]

Further auto-completion testing on wing in debug mode for aiida package.

Hi,

This is some further tests for using wing to give auto-completion suggestions for aiida package in debug mode.

For testing it, you should still from within virtualbox vm described here: https://ask.wingware.com/question/1820/even-in-debug-mode-wing-still-fails-to-give-the-completion-suggestions-for-aiida/

from aiida import load_profile
load_profile()
from aiida.orm import load_node

node=load_node('be52abbf-8e3a-4e64-afc0-cb6fd471ad94') 
for i in dir(node.inputs): 
     if not i.startswith('_'): 
         print(i)

The above code snippet should gives the following output:

code
kpoints
parameters
parent_folder
pseudos__As
pseudos__Ga
structure

But when I enable the debug mode, I cannot find auto-completions for them. For example, when I input node.inputs.c<tab>, wing won't give code as one of the candidates.

Any hints for this problem?

Regards

Further Futher auto-completion testing on by wing in debug mode for aiida package.

Hi,

This is some further tests for using wing to give auto-completion suggestions for aiida package in debug mode.

For testing it, you should still from within virtualbox vm described here: https://ask.wingware.com/question/1820/even-in-debug-mode-wing-still-fails-to-give-the-completion-suggestions-for-aiida/

from aiida import load_profile
load_profile()
from aiida.orm import load_node

node=load_node('be52abbf-8e3a-4e64-afc0-cb6fd471ad94') 
for i in dir(node.inputs): 
     if not i.startswith('_'): 
         print(i)

The above code snippet should gives the following output:

code
kpoints
parameters
parent_folder
pseudos__As
pseudos__Ga
structure

But when I enable the debug mode, I cannot find auto-completions for them. For example, when I input node.inputs.c<tab>, wing won't give codenode.inputs.code as one of the candidates.

Any hints for this problem?

RegardsRegards

Futher auto-completion by wing in debug mode for aiida package.

Hi,

This is some further tests for using wing to give auto-completion suggestions for aiida package in debug mode.

For testing it, you should still from within virtualbox vm described here: https://ask.wingware.com/question/1820/even-in-debug-mode-wing-still-fails-to-give-the-completion-suggestions-for-aiida/

from aiida import load_profile
load_profile()
from aiida.orm import load_node

node=load_node('be52abbf-8e3a-4e64-afc0-cb6fd471ad94') 
for i in dir(node.inputs): 
     if not i.startswith('_'): 
         print(i)

The above code snippet should gives the following output:

code
kpoints
parameters
parent_folder
pseudos__As
pseudos__Ga
structure

But when I enable the debug mode, I cannot find auto-completions for them. For example, when I input node.inputs.c<tab>, wing won't give node.inputs.code as one of the candidates.

Any hints for this problem?

Regards