Skip to content

Commit

Permalink
set batch parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
SasLeo committed Nov 8, 2021
1 parent fd347be commit 8b463e0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion filtering/model_filtering_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ def __init__(self):
self.density_update = None
self.dataset = None
self.summary_table = None
self.batch_dir = None
self.batch_density = None
self.batch_area = None

@qtc.pyqtSlot(str)
def set_data(self, inputs):
Expand All @@ -32,6 +35,10 @@ def set_data(self, inputs):
def set_area_density(self, updated_values):
self.area_update, self.density_update = updated_values

@qtc.pyqtSlot(object)
def set_batch(self, batch_values):
self.batch_dir, self.batch_density, self.batch_area = batch_values

@qtc.pyqtSlot()
def print_income(self):
"""check for correct directory and connection to R"""
Expand Down Expand Up @@ -99,6 +106,6 @@ def data_update(self):
self.data_signal.emit([self.dataset, self.summary_table])

def batch_proessing(self):
pass
print()


0 comments on commit 8b463e0

Please sign in to comment.