Skip to content

Commit

Permalink
Clear info from emptyroom database files
Browse files Browse the repository at this point in the history
  • Loading branch information
jstout211 committed Jun 25, 2024
1 parent 6e62e37 commit a018833
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nih2mne/make_meg_bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,11 @@ def process_meg_bids(input_path=None, subject_in=None, bids_id=None,
tmpdir=op.join(temp_dir, f'er_{tmp_}')
if not op.exists(tmpdir): os.mkdir(tmpdir)
er_fname = get_eroom(meg_fname, tmpdir=tmpdir)
if anonymize==True:
#Anonymize file and ref new dset off of the output fname
er_fname = anonymize_meg(er_fname, tmpdir=tmpdir)
anonymize_finalize(er_fname) #Scrub or remove extra text files

raw = mne.io.read_raw_ctf(er_fname, system_clock='ignore',
clean_names=True)
raw.info['line_freq'] = 60
Expand Down

0 comments on commit a018833

Please sign in to comment.