Skip to content

Tests fail confusingly without XDS #55

@ndevenish

Description

@ndevenish

Running tests without XDS present give:

        for step in ["XYCORR", "INIT", "COLSPOT", "IDXREF"]:
>           lastrecord = open("%s.LP" % step).readlines()[-1]
E           FileNotFoundError: [Errno 2] No such file or directory: 'XYCORR.LP'

fast_dp/autoindex.py:106: FileNotFoundError

This is because run_job doesn't check and provides no way to tell if the process actually ran, so autoindex just carries on as if it's worked:

log = run_job("xds_par")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions