mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
flake8 compliance
This commit is contained in:
parent
3381589617
commit
8731fcc615
1 changed files with 4 additions and 4 deletions
|
@ -170,17 +170,17 @@ def read_rwms(path, prefix, version='2.0', names=None, **kwargs):
|
|||
if "idl_offsets" in kwargs:
|
||||
idl_offsets = kwargs.get("idl_offsets")
|
||||
else:
|
||||
idl_offsets = np.ones(nrw, dtype = int)
|
||||
idl_offsets = np.ones(nrw, dtype=int)
|
||||
result = []
|
||||
for t in range(nrw):
|
||||
idl = []
|
||||
for rep in range(replica):
|
||||
idl.append(range(idl_offsets[rep],len(deltas[t][rep]+idl_offsets[rep])))
|
||||
idl.append(range(idl_offsets[rep], len(deltas[t][rep] + idl_offsets[rep])))
|
||||
if names is None:
|
||||
result.append(Obs(deltas[t], rep_names, idl = idl))
|
||||
result.append(Obs(deltas[t], rep_names, idl=idl))
|
||||
else:
|
||||
print(names)
|
||||
result.append(Obs(deltas[t], names, idl = idl))
|
||||
result.append(Obs(deltas[t], names, idl=idl))
|
||||
return result
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue