Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FlipperCalc not working yet in new schema #3

Open
lekah opened this issue May 7, 2020 · 1 comment
Open

FlipperCalc not working yet in new schema #3

lekah opened this issue May 7, 2020 · 1 comment

Comments

@lekah
Copy link
Collaborator

lekah commented May 7, 2020

@lorisercole @csadorf The flippercalc needs to work with the new AiiDA workchains and the imports from AIiDA >= 1.0. I will create a new branch migration-flippercalc and work on that branch to fix that

@lekah
Copy link
Collaborator Author

lekah commented May 7, 2020

With commit bf0f5bf FlipperCalc produces a valid outputfile that can be submitted by the daemon.
It remains to adapt the parser (parsers/flipper.py).

As a note, to re-run an import flippercalculation, I do the following:

cj = load_node('68020426-27a7-4b59-9890-74e7e656b472') # the calcJob importd

inputs_dict = {l.link_label:l.node for l in cj.get_incoming().all() if not l.link_label.startswith('pseudo')}

pseudos = {l.link_label.replace('pseudo_',''):l.node for l in cj.get_incoming().all() if  l.link_label.startswith('pseudo')}

inputs_dict['pseudos'] = pseudos

inputs_dict['parent_folder'] = inputs_dict.pop('remote_folder')

inputs_dict['code'] = load_node(30419) # a new flipper code, or leave if imported works

run(FlipperCalculation, **inputs_dict)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant