Skip to content
Snippets Groups Projects
Commit c03b0a03 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Adds --clean argument functionaility to grid search

parent 08253913
No related branches found
No related tags found
No related merge requests found
......@@ -1531,6 +1531,8 @@ class GridSearch(BaseSearchClass):
self.input_data = np.array(input_data)
def check_old_data_is_okay_to_use(self):
if args.clean:
return False
if os.path.isfile(self.out_file) is False:
logging.info('No old data found, continuing with grid search')
return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment