Skip to content

Commit

Permalink
0603
Browse files Browse the repository at this point in the history
  • Loading branch information
tian50 committed Jun 3, 2021
1 parent cb050b7 commit 8186cd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion msgpi/io/iosc.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ def readSCOutFailure(fn_swiftcomp_in, failure_analysis):
# results.append([int(line[0]), float(line[1]), float(line[2])])
fis.append(float(line[1]))
srs.append(float(line[2]))
return fis, srs
return fis, srs

return results

Expand Down
5 changes: 3 additions & 2 deletions tests/test_io/test_io_sc/test_read_sc_failure_out.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import msgpi.io.iosc as miosc

fn = 'box.sg'
r = miosc.readSCOutFailure(fn, 'fi')
fis, srs = miosc.readSCOutFailure(fn, 'fi')

print(r[:10])
print(fis[:10])
print(srs[:10])

0 comments on commit 8186cd2

Please sign in to comment.