https://github.com/losonczylab/sima/blob/24694b94c22f95b16659236ce311d698e4251e98/examples/workflow.py#L43-L71.
Hope this helps.
Hello,--I am constantly getting the error "OSError: [Errno 17] File exists" because it seems whatever changes I want to do to a dataset, e.g. motion correction, the system tries to rewrite the same file and it gives errors because it already exists. For instance (plz read my comments next to each line):dataset_path = 'example_TIFF.sima'sequences = [sima.Sequence.create('TIFF', 'example_Ch1.tif')] # it creates dataset_path/sequences.pkldataset = sima.ImagingDataset(sequences, dataset_path) # it creates dataset_path/dataset.pklcorrection_approach = sima.motion.HiddenMarkov2D()dataset = correction_approach.correct(sequences, dataset_path) # it again wants to create dataset_path/dataset.pkl but it fails, as the file already existsOSError: [Errno 17] File exists: '/User/ImageAnalysis/sim_tutorial/example_TIFF.sima'Thank you,Sahar
You received this message because you are subscribed to the Google Groups "sima-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sima-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sima-users/d3d61536-9745-43c1-bacd-a3072f8a651f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.