Skip to content

feat: open a run from its master file (UC-1.1) #7

Backlog

Description

@Akadib

Problem

As a labeler, I give the path to a master file and see how many frames it has and the omega angle of each frame, without waiting for all the data to load.

Proposed solution

  • Run(master_path) follows external links in entry/data to the data files.
  • len(run) gives the number of frames across all data files (200 for screening runs, 1,800 for testcrystal_0008).
  • run.omega_deg is an array of start angles from entry/sample/goniometer/omega.
  • run.frame(i) reads one frame only.
  • A missing or incomplete data file raises a clear RunNotReadyError naming the file, not an HDF5 traceback.

Done when

  • Unit tests on the synthetic run
  • realdata test on A07/L_A07_0007_master.h5 gives 200 frames, omega 0.0 to 19.9
  • diffpy-diffchooser info RUN prints sample, frames, omega range, geometry
  • News file added

Activity

  1. added theissue type on Dec 1, 2026
  2. added
    enhancement
    good first issue
    on Dec 1, 2026
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

    enhancementgood first issue

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions