Skip to content
Snippets Groups Projects
Commit bed44c6b authored by Vivien Raymond's avatar Vivien Raymond
Browse files

Fix to_pickle folder creation in InterferometerList

parent 7eb093ed
No related branches found
No related tags found
No related merge requests found
......@@ -273,7 +273,7 @@ class InterferometerList(list):
"""
def to_pickle(self, outdir="outdir", label="ifo_list"):
utils.check_directory_exists_and_if_not_mkdir("outdir")
utils.check_directory_exists_and_if_not_mkdir(outdir)
label = label + "_" + "".join(ifo.name for ifo in self)
filename = self._filename_from_outdir_label_extension(
outdir, label, extension="pkl"
......
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