Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn metadata tab into tableview #103

Open
rodolakis opened this issue Mar 2, 2024 · 0 comments
Open

Turn metadata tab into tableview #103

rodolakis opened this issue Mar 2, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@rodolakis
Copy link
Collaborator

Considering the structure of the metadata dictionary (pv, desc, unit, value), it would be easy to make it a nice tableview:

- - - sampleEntry
    - description: description
      unit: unit string
      value: value
 - - 29idARPES:saveData_fileName
    - description: File Name
      unit: ''
      value: mda_0006.mda
  - - 29idARPES:saveData_fileSystem
    - description: File System
      unit: ''
      value: /net/s29data/export/data_29idc/2020_2

Only one entry will need to be handled differently (QLabel?), and I am guessing some fo this info is not is really needed (mda object key for example):

  - - filename
    - !!python/object/apply:pathlib.PosixPath
      - /
      - Users
      - fannysimoes
      - src
      - mdaviz
      - mdaviz
      - data
      - test_folder1
      - mda_0006.mda
  - - version
    - 1.2999999523162842
  - - scan_number
    - 6
  - - rank
    - 1
  - - dimensions
    - - 21
  - - acquired_dimensions
    - - 21
  - - isRegular
    - 1
  - - ourKeys
    - - sampleEntry
      - filename
      - version
      - scan_number
      - rank
      - dimensions
      - acquired_dimensions
      - isRegular
      - ourKeys
@rodolakis rodolakis added this to mdaviz Mar 2, 2024
@rodolakis rodolakis moved this to v1.1 in mdaviz Mar 2, 2024
@rodolakis rodolakis self-assigned this Mar 7, 2024
@rodolakis rodolakis added the enhancement New feature or request label Mar 7, 2024
@rodolakis rodolakis added this to the v1.1 milestone Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Upgrades
Development

No branches or pull requests

1 participant