Skip to content
Snippets Groups Projects
Commit 93bde032 authored by MoritzThomasHuebner's avatar MoritzThomasHuebner
Browse files

Fixed a bug I introduced by not properly renaming a local variable

parent e2acc458
No related branches found
No related tags found
1 merge request!106Warnings cleanup
Pipeline #
......@@ -451,7 +451,7 @@ class InterferometerStrainData(object):
if outdir:
psd_file = '{}/{}_PSD_{}_{}.txt'.format(outdir, name, self.start_time, self.duration)
with open('{}'.format(psd_file), 'w+') as file:
with open('{}'.format(psd_file), 'w+') as opened_file:
for f, p in zip(psd.frequencies.value, psd.value):
opened_file.write('{} {}\n'.format(f, p))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment