Proceswfiles version with automatic file name sorting
Former-commit-id: 04d458377cf6ef061bae819126bea9f6ab3cf6a4
This commit is contained in:
parent
c5a82516eb
commit
0603ed6e87
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
from qpms import processWfiles_sameKs
|
||||
|
||||
npart = int(sys.argv[1])
|
||||
dest = sys.argv[2]
|
||||
srcs = sys.argv[3:]
|
||||
|
||||
srcs_sorted = sorted(srcs, key=float)
|
||||
|
||||
processWfiles_sameKs(srcs_sorted, dest, f='d', nparticles=npart)
|
||||
|
Loading…
Reference in New Issue