Skip to content

Commit

Permalink
batch karcher mode currently works
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcieslak committed Jun 13, 2018
1 parent 2b7c6c6 commit fd9f828
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions meap/batch_warp_dzdt.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ def _num_cores_changed(self):

if self.num_cores < 1 or self.num_cores > num_cores:
self.num_cores = multiprocessing.cpu_count()

def _input_directory_changed(self):
def _configure_io(self):
potential_files = glob(self.input_directory +"/*mea.mat")
potential_files = [f for f in potential_files if not \
f.endswith("_aligned.mea.mat") ]
Expand All @@ -158,7 +158,15 @@ def make_output_file(input_file):
FileToProcess(input_file = f, output_file=make_output_file(f)) \
for f in potential_files
]

def _output_directory_changed(self):
self._configure_io()

def _file_suffix_changed(self):
self._configure_io()

def _input_directory_changed(self):
self._configure_io()

def _b_run_fired(self):
files_to_run = [f for f in self.files if not f.finished]
Expand Down

0 comments on commit fd9f828

Please sign in to comment.