Using the lima_segmenter function from \nbGui\S3DXRD\0_segment_and_label.ipynb does not work on Windows as it generates a bash script to perform the actions. An alternative is shown in the s3DXRD example: \nbGui\S3DXRD\0_segment_frelon.ipynb, but the input options and output are different, so cannot work as a direct substitute.
The code I tried to run is from \nbGui\S3DXRD\0_segment_and_label.ipynb:
create batch file to send to SLURM cluster
sbat = ImageD11.sinograms.lima_segmenter.setup(ds.dsfile, **ui.getopts(), pythonpath=PYTHONPATH)
if sbat is None:
raise ValueError("This scan has already been segmented!")
print(sbat)
utils.slurm_submit_and_wait(sbat, 60)
The error is as follows:

Using the lima_segmenter function from \nbGui\S3DXRD\0_segment_and_label.ipynb does not work on Windows as it generates a bash script to perform the actions. An alternative is shown in the s3DXRD example: \nbGui\S3DXRD\0_segment_frelon.ipynb, but the input options and output are different, so cannot work as a direct substitute.
The code I tried to run is from \nbGui\S3DXRD\0_segment_and_label.ipynb:
create batch file to send to SLURM cluster
sbat = ImageD11.sinograms.lima_segmenter.setup(ds.dsfile, **ui.getopts(), pythonpath=PYTHONPATH)
if sbat is None:
raise ValueError("This scan has already been segmented!")
print(sbat)
utils.slurm_submit_and_wait(sbat, 60)
The error is as follows: