Commit c03b0a03 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Adds --clean argument functionaility to grid search

parent 08253913
......@@ -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:'No old data found, continuing with grid search')
return False
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment