Skip to content

Commit

Permalink
fix wfl.map.map docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
bernstei committed Jan 23, 2025
1 parent c1f3bad commit 9c5f7be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/local_scripts/complete_pytest.tin
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash

module purge
module load compiler/gnu python/system python_extras/quippy lapack/mkl
# module load compiler/gnu python/system python_extras/quippy lapack/mkl
module load compiler/gnu python/conda python_extras/quippy/_2024-10-21 lapack/mkl
module load python_extras/torch/cpu

if [ -z "$WFL_PYTEST_EXPYRE_INFO" ]; then
Expand Down Expand Up @@ -67,7 +68,7 @@ l=`egrep '^=.*(passed|failed|skipped|xfailed|error).* in ' complete_pytest.tin.o
echo "summary line $l"
lp=$( echo $l | sed -E -e 's/ in .*//' -e 's/\s*,\s*/\n/g' )

declare -A expected_n=( ["passed"]="176" ["skipped"]="21" ["warnings"]=823 ["xfailed"]=2 ["xpassed"]=1 )
declare -A expected_n=( ["passed"]="177" ["skipped"]="21" ["warnings"]=823 ["xfailed"]=2 ["xpassed"]=1 )
IFS=$'\n'
t_stat=0
for out in $lp; do
Expand Down
2 changes: 2 additions & 0 deletions wfl/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ def _map_autopara_wrappable(atoms, map_func, args=[], kwargs={}):
Parameters
----------
atoms: list(Atoms)
input configurations
map_func: function(Atoms, *args, **kwargs)
function to apply
args: list
Expand Down

0 comments on commit 9c5f7be

Please sign in to comment.