Skip to content

Consider creating a fake for GenericNeXusWorkflow #121

Open
@SimonHeybrock

Description

@SimonHeybrock

Usage in a unit test:

def test_loki():
    wf = LokiWorkflow(nexus_workflow=FakeGenericNeXusWorkflow())
    wf.compute(IofQ[SampleRun])

This would allow for bypassing file I/O as well as dealing with large data (or having to create small files). The challenge is that unless instrument parameters are reasonable the workflow may fail or return data that is not verifiable, e.g., if all data is in unphysical regions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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