Skip to content

Lima segmenter not working on Windows #520

Description

@rehogenbirk

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:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions