Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 6, 2023
1 parent b670248 commit 8abf7ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions aiida_fleur/cmdline/workflows/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ def cmd_workflow():


@cmd_workflow.command('res')
@arguments.PROCESS('process', type=ProcessParamType()
) #, type=WorkflowParamType(sub_classes=('aiida.node:process.workflow.workchain',)))
@arguments.PROCESS(
'process',
type=ProcessParamType()) #, type=WorkflowParamType(sub_classes=('aiida.node:process.workflow.workchain',)))
@click.option('--info/--no-info', default=False, help='Print an info header above each node.')
@click.option('-l', '--label', 'label', type=str, help='Print only output dicts with a certain link_label.')
@options_fl.SHOW()
Expand Down Expand Up @@ -69,8 +70,9 @@ def workchain_res(process, info, label, show, keys, fmt):


@cmd_workflow.command('inputdict')
@arguments.PROCESS('process', type=ProcessParamType()
) #, type=WorkflowParamType(sub_classes=('aiida.node:process.workflow.workchain',)))
@arguments.PROCESS(
'process',
type=ProcessParamType()) #, type=WorkflowParamType(sub_classes=('aiida.node:process.workflow.workchain',)))
@click.option('--info/--no-info', default=False, help='Print an info header above each node.')
@click.option('-l', '--label', 'label', type=str, help='Print only output dicts with a certain link_label.')
@options_fl.SHOW()
Expand Down
2 changes: 1 addition & 1 deletion aiida_fleur/tools/StructureData_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -1674,7 +1674,7 @@ def request_average_bond_length(first_bin, second_bin, user_api_key, ignore_seco
from collections import defaultdict
from copy import deepcopy

bond_data = defaultdict(lambda: defaultdict(lambda: 0.0))
bond_data = defaultdict(lambda: defaultdict(float))

Check warning on line 1677 in aiida_fleur/tools/StructureData_util.py

View check run for this annotation

Codecov / codecov/patch

aiida_fleur/tools/StructureData_util.py#L1677

Added line #L1677 was not covered by tests
if ignore_second_bin:
symbols = first_bin
second_bin_calculate = first_bin
Expand Down

0 comments on commit 8abf7ea

Please sign in to comment.