Skip to content

Add verdi work show#1816

Merged
sphuber merged 1 commit into
aiidateam:developfrom
sphuber:fix_1815_verdi_work_show
Jul 30, 2018
Merged

Add verdi work show#1816
sphuber merged 1 commit into
aiidateam:developfrom
sphuber:fix_1815_verdi_work_show

Conversation

@sphuber
Copy link
Copy Markdown
Contributor

@sphuber sphuber commented Jul 30, 2018

Fixes #1815

In working on this issue, it was also found that the verdi calculation
commands, no longer accepted InlineCalculation nodes but only calcs of
the type JobCalculation. This was has been addressed as well.

Finally, with the verdi click group being defined in the module init
of aiida.cmdline, as well as all sub commands being imported, such that
they are registered, the sub commands having to import the verdi group
to attach themselves, caused a cyclic import. By moving the verdi
group to its own file, this cyclicity is broken.

@sphuber sphuber requested a review from muhrin July 30, 2018 09:37
@sphuber sphuber force-pushed the fix_1815_verdi_work_show branch 2 times, most recently from 12f10c1 to d8e7759 Compare July 30, 2018 09:50
In working on this issue, it was also found that the `verdi calculation`
commands, no longer accepted `InlineCalculation` nodes but only calcs of
the type `JobCalculation`. This was has been addressed as well.

Finally, with the `verdi` click group being defined in the module init
of `aiida.cmdline`, as well as all sub commands being imported, such that
they are registered, the sub commands having to import the verdi group
to attach themselves, caused a cyclic import. By moving the `verdi`
group to its own file, this cyclicity is broken.
@sphuber sphuber force-pushed the fix_1815_verdi_work_show branch from d8e7759 to 469df8e Compare July 30, 2018 10:05
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #1816 into develop will increase coverage by 0.05%.
The diff coverage is 88.39%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1816      +/-   ##
===========================================
+ Coverage    66.58%   66.64%   +0.05%     
===========================================
  Files          315      317       +2     
  Lines        32368    32394      +26     
===========================================
+ Hits         21553    21588      +35     
+ Misses       10815    10806       -9
Impacted Files Coverage Δ
aiida/cmdline/commands/cmd_comment.py 67.08% <100%> (ø) ⬆️
aiida/cmdline/commands/cmd_rehash.py 100% <100%> (ø) ⬆️
aiida/cmdline/commands/cmd_setup.py 100% <100%> (ø) ⬆️
aiida/cmdline/commands/cmd_export.py 84.37% <100%> (ø) ⬆️
aiida/cmdline/commands/cmd_code.py 91.97% <100%> (ø) ⬆️
aiida/cmdline/commands/cmd_computer.py 79.13% <100%> (ø) ⬆️
aiida/cmdline/commands/cmd_group.py 82.43% <100%> (ø) ⬆️
aiida/cmdline/commands/cmd_calculation.py 70.78% <100%> (ø) ⬆️
aiida/cmdline/commands/cmd_shell.py 18.36% <100%> (ø) ⬆️
aiida/cmdline/commands/cmd_profile.py 78.04% <100%> (ø) ⬆️
... and 19 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb5f6c5...469df8e. Read the comment docs.

@sphuber sphuber merged commit ed481c4 into aiidateam:develop Jul 30, 2018
@sphuber sphuber deleted the fix_1815_verdi_work_show branch August 2, 2018 19:26
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

Successfully merging this pull request may close these issues.

3 participants