diff options
author | emkael <emkael@tlen.pl> | 2015-08-29 21:30:51 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2015-08-29 21:30:51 +0200 |
commit | 7b2f3add322017057d02377c565c50c571eafa05 (patch) | |
tree | d3bf1b67b9d3abf5fe1d232169e106e91f564e44 /virtual_table.py | |
parent | d64a09f6f08f93818efed6e7c6c9b897ff7873e7 (diff) |
* emitting warning when collected scores file is missing
Diffstat (limited to 'virtual_table.py')
-rw-r--r-- | virtual_table.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/virtual_table.py b/virtual_table.py index fe75b8f..482b57e 100644 --- a/virtual_table.py +++ b/virtual_table.py @@ -281,7 +281,10 @@ class JFRVirtualTable: self.__fix_full_results(self.__full_results_file) def fix_collected_scores(self): - self.__fix_collected(self.__collected_scores_file) + if path.isfile(self.__collected_scores_file): + self.__fix_collected(self.__collected_scores_file) + else: + print 'Warning: collected scores not found' def fix_records_list(self): self.__fix_records_list(self.__pair_records_list_file) |