diff --git a/hed/schema/schema_io/ontology_util.py b/hed/schema/schema_io/ontology_util.py index a9b4e668..8d72fda6 100644 --- a/hed/schema/schema_io/ontology_util.py +++ b/hed/schema/schema_io/ontology_util.py @@ -394,7 +394,8 @@ def save_dataframes(base_filename, dataframe_dict): for suffix, dataframe in dataframe_dict.items(): filename = f"{base}_{suffix}.tsv" with open(filename, mode='w', encoding='utf-8') as opened_file: - dataframe.to_csv(opened_file, sep='\t', index=False, header=True, quoting=csv.QUOTE_NONE) + dataframe.to_csv(opened_file, sep='\t', index=False, header=True, + quoting=csv.QUOTE_NONE, lineterminator="\n") def convert_filenames_to_dict(filenames):