diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-11-18 13:39:13 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-11-18 13:39:13 +0100 |
commit | 78bad4dc02aacd56ea7f579c67ce62815ac37025 (patch) | |
tree | ecf8ab922918b2af4e27c8d8b8459f6f7d08f510 /bin/analyze-archive.py | |
parent | 7c7e4b650c00e8a69da16b12ab301bcbcf01b1a8 (diff) |
dfatool: save preprocessing stats in cache
Diffstat (limited to 'bin/analyze-archive.py')
-rwxr-xr-x | bin/analyze-archive.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py index ee6b1d8..787510d 100755 --- a/bin/analyze-archive.py +++ b/bin/analyze-archive.py @@ -272,6 +272,11 @@ if __name__ == '__main__': raw_data = RawData(args) preprocessed_data = raw_data.get_preprocessed_data() + + if raw_data.preprocessing_stats['num_valid'] == 0: + print('No valid data available. Abort.') + sys.exit(2) + by_name, parameters, arg_count = pta_trace_to_aggregate(preprocessed_data, ignored_trace_indexes) filter_aggregate_by_param(by_name, parameters, opts['filter-param']) |