mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
small changes to rep names
This commit is contained in:
parent
f91c4adff4
commit
f9fe5c7ec9
1 changed files with 4 additions and 1 deletions
|
@ -1034,7 +1034,10 @@ def read_ms5_xsf(path, prefix, qc, corr, sep = "r", **kwargs):
|
|||
for f in found:
|
||||
if fnmatch.fnmatch(f, prefix + "*.ms5_xsf_"+qc+".dat"):
|
||||
files.append(f)
|
||||
names.append(prefix+"|r"+f.split(".")[0].split(sep)[1])
|
||||
if not sep == "":
|
||||
names.append(prefix+"|r"+f.split(".")[0].split(sep)[1])
|
||||
else:
|
||||
names.append(prefix)
|
||||
files = sorted(files)
|
||||
|
||||
if "names" in kwargs:
|
||||
|
|
Loading…
Add table
Reference in a new issue