9db91c1775617fd26c161a8ee8cf68b8a5297009,mne/io/fiff/raw.py,Raw,__init__,#Raw#Any#Any#Any#Any#,74
Before Change
def __init__(self, fname, allow_maxshield=False, preload=False,
verbose=None): // noqa: D102
fnames = [op.realpath(fname)]
split_fnames = []
raws = []
for ii, this_fname in enumerate(fnames):
do_check_fname = this_fname not in split_fnames
raw, next_fname, buffer_size_sec = \
self._read_raw_file(this_fname, allow_maxshield,
preload, do_check_fname)
raws.append(raw)
After Change
verbose=None): // noqa: D102
raws = []
do_check_fname = isinstance(fname, str)
next_fname = fname
while next_fname is not None:
raw, next_fname, buffer_size_sec = \
self._read_raw_file(next_fname, allow_maxshield,
preload, do_check_fname)
do_check_fname = False
raws.append(raw)
if next_fname is not None:
if not op.exists(next_fname):
warn("Split raw file detected but next file %s does not "
"exist." % next_fname)
break
if not isinstance(fname, str):
// avoid serialization error when copying file-like
fname = None // noqa
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: mne-tools/mne-python
Commit Name: 9db91c1775617fd26c161a8ee8cf68b8a5297009
Time: 2019-05-14
Author: larson.eric.d@gmail.com
File Name: mne/io/fiff/raw.py
Class Name: Raw
Method Name: __init__
Project Name: Ambrosys/glyph
Commit Name: ffa0db4fdca9cef31a72b35a1f7eef78733f5b0c
Time: 2017-02-24
Author: mquade@uni-potsdam.de
File Name: glyph/cli/glyph_remote.py
Class Name: RemoteAssessmentRunner
Method Name: evaluate_single
Project Name: pantsbuild/pants
Commit Name: 3442c3da20317e9e3948639bc96481124d74bf43
Time: 2016-01-25
Author: abishev.timur@gmail.com
File Name: src/python/pants/base/build_file.py
Class Name: BuildFile
Method Name: ancestors