Skip to content

Commit 3f0e110

Browse files
authored
remove type formatting of freq lims to allow None (#29)
1 parent dc2772f commit 3f0e110

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stormdb/process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def raw_filter(self, in_fname, out_fname, l_freq, h_freq, **kwargs):
4747

4848
script = ("from mne.io import read_raw_fif;"
4949
"raw = read_raw_fif('{in_fname:s}', preload=True);"
50-
"raw.filter({l_freq:.1f}, {h_freq:.1f}{kwargs:});"
50+
"raw.filter({l_freq}, {h_freq}{kwargs:});"
5151
"raw.save('{out_fname:s}')")
5252
filtargs = ', '.join("{!s}={!r}".format(key, val) for
5353
(key, val) in kwargs.items())

0 commit comments

Comments
 (0)