Avoided setup-dependent error (file structuring). Implemented TNMR application search and re-open if it closes. This will not fix any particularly odd situations, but it will recover the majority of TNMR crashes and user error.
This commit is contained in:
@@ -309,7 +309,8 @@ class ProgrammedSequence(fc.Drivable): # Drivable only for kill() funcitonality
|
||||
self.approx_sequence_length += float(self.post_acquisition_time)*1e-6
|
||||
|
||||
# then, save the thing
|
||||
filepath = os.getcwd()
|
||||
# save it in a reasonable location, within frappy
|
||||
filepath = os.path.dirname(os.path.realpath(__file__))
|
||||
filename = self.title + f'_{time.time()}'
|
||||
filename = filepath + '/sequences/' + filename.replace('.','')
|
||||
seq_gen.save_sequence(filename, seq)
|
||||
|
||||
Reference in New Issue
Block a user