diff --git a/BioTracker/CoreApp/BioTracker/Model/DataExporters/DataExporterCSV.cpp b/BioTracker/CoreApp/BioTracker/Model/DataExporters/DataExporterCSV.cpp index 061a2511..0d2a031d 100644 --- a/BioTracker/CoreApp/BioTracker/Model/DataExporters/DataExporterCSV.cpp +++ b/BioTracker/CoreApp/BioTracker/Model/DataExporters/DataExporterCSV.cpp @@ -225,13 +225,6 @@ void DataExporterCSV::writeAll(std::string f) { //Find max length of all tracks int max = getMaxLinecount(); - //There is nothing to write - if (max <= 1) - { - cleanup(); - return; - } - std::string target = f; if (target.size() <= 4) { target = _finalFile; diff --git a/BioTracker/CoreApp/BioTracker/Model/DataExporters/DataExporterJson.cpp b/BioTracker/CoreApp/BioTracker/Model/DataExporters/DataExporterJson.cpp index 480d5919..b40c7443 100644 --- a/BioTracker/CoreApp/BioTracker/Model/DataExporters/DataExporterJson.cpp +++ b/BioTracker/CoreApp/BioTracker/Model/DataExporters/DataExporterJson.cpp @@ -176,11 +176,6 @@ void DataExporterJson::writeAll(std::string f) { _ofs.close(); } - if (getMaxLinecount() <= 1) { - cleanup(); - return; - } - std::string target = f; if (target.size() <= 1) { target = _finalFile; diff --git a/BioTracker/CoreApp/BioTracker/Model/DataExporters/DataExporterSerialize.cpp b/BioTracker/CoreApp/BioTracker/Model/DataExporters/DataExporterSerialize.cpp index e180df45..75c5e5a5 100644 --- a/BioTracker/CoreApp/BioTracker/Model/DataExporters/DataExporterSerialize.cpp +++ b/BioTracker/CoreApp/BioTracker/Model/DataExporters/DataExporterSerialize.cpp @@ -98,11 +98,6 @@ void DataExporterSerialize::writeAll(std::string f) { _ofs.close(); } - if (getMaxLinecount() <= 1) { - cleanup(); - return; - } - std::string target = f; if (target.size() <= 1) { target = _finalFile;