Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ALF
pyALF
Commits
d0d6cae6
Commit
d0d6cae6
authored
May 03, 2021
by
Jonas Schwab
Browse files
Fix small linter warning
parent
74ba22d2
Changes
1
Show whitespace changes
Inline
Side-by-side
default_variables.py
View file @
d0d6cae6
...
...
@@ -8,7 +8,7 @@ PARAMS_GENERIC -- contains all generic parameters independent from the choice
PARAMS_MODEL -- contains namelists dependant on hamiltonian
IN_HAM -- defines which elements of PARAMS_MODEL are needed by a hamiltonian
"""
# pylint: disable=
bad-whitespace,
line-too-long
# pylint: disable
= line-too-long
__author__
=
"Fakher F. Assaad, and Jonas Schwab"
__copyright__
=
"Copyright 2020, The ALF Project"
...
...
@@ -36,8 +36,8 @@ def params_list(ham_name, include_generic=False):
for
name
in
IN_HAM
[
ham_name
]:
p_list
+=
list
(
PARAMS_MODEL
[
name
])
if
include_generic
:
for
nlist_name
,
nlist
in
PARAMS_GENERIC
.
items
()
:
p_list
+=
list
(
nlist
)
for
nlist_name
in
PARAMS_GENERIC
:
p_list
+=
list
(
PARAMS_GENERIC
[
nlist_name
]
)
return
[
i
.
upper
()
for
i
in
p_list
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment