Skip to content

Commit 4a827a4

Browse files
author
robin
committed
fix pylint
1 parent 785b329 commit 4a827a4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

pipeline/pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def measure_methods(self, stopwatch, fil_data, freqs, DM, scale):
112112
Run and time all methods/modules
113113
"""
114114
# clipping
115-
115+
116116
time_clipping = timer()
117117
_, _ = clipping.clipping(freqs, fil_data)
118118
stopwatch['time_clipping'] = timer() - time_clipping

tests/test_dedisperse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44

55
import unittest
6-
import numpy as np
6+
import numpy as np
77

88
from .context import dedisperse # pylint: disable-msg=E0611
99

tests/test_pipeline.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def test_static_pipeline(self):
1616
When running the static pipeline,
1717
expect a file with the time per method
1818
"""
19-
filename = './pspm8.fil'
19+
filename = './pspm32.fil'
2020
new_file = './static_filterbank.txt'
2121
pipeline.Pipeline(filename)
2222
self.assertTrue(os.path.exists(new_file))
@@ -27,7 +27,7 @@ def test_row_pipeline(self):
2727
When running the pipeline as stream,
2828
expect a file with the time per method
2929
"""
30-
filename = './pspm8.fil'
30+
filename = './pspm32.fil'
3131
new_file = './rows_filterbank.txt'
3232
pipeline.Pipeline(filename, as_stream=True)
3333
self.assertTrue(os.path.exists(new_file))
@@ -38,7 +38,7 @@ def test_n_rows_pipeline(self):
3838
When running the pipeline as stream,
3939
expect a file with the time per method per chunk
4040
"""
41-
filename = './pspm8.fil'
41+
filename = './pspm32.fil'
4242
new_file = './n_rows_filterbank.txt'
4343
pipeline.Pipeline(filename, as_stream=True, n=10)
4444
self.assertTrue(os.path.exists(new_file))

0 commit comments

Comments
 (0)