Skip to content

Fix nightly builds #306

Description

@jl-wynen

Nightly builds are broken because the Amor files can no longer be loaded. The error occurs in scippnexus/nxtransformations.py:62:

return sc.vector(value=self.attrs.get('vector'))

where self.attrs.get('vector') is None.

I don't know whether this is a problem with the file or ScippNeXus.

Activity

  1. nvaytet commented on Sep 19, 2024

    @nvaytet
    Member

    Strange, I doubt the files have changed.

    This PR in scippnexus was merged on september 4th, and the first failing nightly build is on september 5th... So I am guessing that's the culprit?

  2. jl-wynen commented on Sep 19, 2024

    @jl-wynen
    MemberAuthor

    Maybe. But I don't see how logs (in that PR) and transforms (the failing code) are connected.

  3. jokasimr commented on Sep 19, 2024

    @jokasimr
    Contributor

    From a glance it seems like the attribute vector did exist on the data-group (that's why it worked before), but not on the data-array, so when we replace the data-group with the data-array we lose the attributes.

    It's worth mentioning that the nexus files in this example are broken. Particularly NXlog don't look like what we expect.

  4. MridulS commented on Sep 24, 2024

    @MridulS
    Member

    scipp/scippnexus#231 is indeed the issue, reverting to the last commit without the change works fine with the current notebook.

  5. self-assigned this
    on Sep 26, 2024
  6. jokasimr commented on Sep 26, 2024

    @jokasimr
    Contributor

    This is now fixed in scippnexus by being more graceful when encountering broken files.

    But to make the nightly pass we need to release scippnexus (in progress done) and lower bound the scippnexus dependency in essreflectometry to that release.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingessreflectometryIssues for essreflectometry.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions