Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jukkr
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
kkr
jukkr
Commits
7c0c9986
Commit
7c0c9986
authored
5 years ago
by
Philipp Rüssmann
Browse files
Options
Downloads
Patches
Plain Diff
Fix imports in refactored test scripts
parent
4a6adb38
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/KKRhost/tools/common_functions.py
+5
-0
5 additions, 0 deletions
tests/KKRhost/tools/common_functions.py
tests/KKRhost/tools/test_verify_BdG.py
+1
-3
1 addition, 3 deletions
tests/KKRhost/tools/test_verify_BdG.py
with
6 additions
and
3 deletions
tests/KKRhost/tools/common_functions.py
+
5
−
0
View file @
7c0c9986
...
...
@@ -273,6 +273,11 @@ def cmp_modes(cmplist, path00, s_rms_bound=10**-12, max_s_charges_bound=10**-12)
check convergence and charges across parallel runs
returns dict with rms and charges entries for all paths given in
'
cmplist
'
in parent directory
'
path00
'
"""
import
os
import
pprint
from
numpy
import
std
from
kkrparser_functions
import
parse_kkr_outputfile
cmp_values
=
{
'
rms
'
:[],
'
charges
'
:[]}
for
addpath
in
cmplist
:
path0
=
path00
+
'
/
'
+
addpath
...
...
This diff is collapsed.
Click to expand it.
tests/KKRhost/tools/test_verify_BdG.py
+
1
−
3
View file @
7c0c9986
...
...
@@ -4,9 +4,7 @@
from
__future__
import
print_function
#import pytest
import
os
,
pprint
from
kkrparser_functions
import
parse_kkr_outputfile
from
numpy
import
std
,
array
from
numpy
import
array
from
common_functions
import
search_string
,
cmp_modes
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment