Skip to content

No import of 'id's if event list is empty #34

Description

@willend

Working with @damianmr76 on a TBL model, we initially had a mis-positioned Event monitor that as a consequence did not catch any neutrons.

The initial symptom seen was that

with mcstastox.Read(file_path) as loaded_data:
    print(loaded_data.get_components_with_ids())

returned nothing - which we found confusing since the 'pixel-ids' are (geometrically) present irrespective of event data or not.

We suggest to

  • List any id'-monitors always
  • Add a remark of (Empty) or (No Data) if no events are on the list

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