Skip to content

fix demo session scripts

Wout De Nolf requested to merge fix_demo_session into main
  • support lima simulators that are able to produce Pilatus1M images with the correct shape
  • small bugs related to resource directories
  • demo: more consistent storing results in PROCESSED_DATA (accessible//config, accessible//workflows)
  • demo: fix script to run all demo examples (works essentially like an integration test with bliss, blissoda is currently missing those, will start to add a few in !111 (merged))
  • demo: disable id11 demo when running all because not everybody has diffpy (need a license for that)

Running user.all_demo gives this raw date and processed results:

── inhouse
│   └── id002312
│       └── id00
│           └── 20231201
│               ├── PROCESSED_DATA
│               │   ├── accessible
│               │   │   ├── id11
│               │   │   │   └── config
│               │   │   │       ├── difflab6
│               │   │   │       │   └── pyfaicalib.json
│               │   │   │       └── pdf_config.cfg
│               │   │   ├── id22
│               │   │   │   ├── config
│               │   │   │   │   ├── convert.json
│               │   │   │   │   ├── pyfaicalib.json
│               │   │   │   │   └── rebinsum.json
│               │   │   │   └── workflows
│               │   │   │       └── Sum_then_integrate_with_saving.json
│               │   │   ├── streamline
│               │   │   │   ├── config
│               │   │   │   │   └── pyfaicalib.json
│               │   │   │   └── workflows
│               │   │   │       └── streamline_without_calib.json
│               │   │   └── xrpd
│               │   │       ├── config
│               │   │       │   └── pyfaicalib.json
│               │   │       └── workflows
│               │   │           ├── integrate_scan_without_saving.json
│               │   │           └── integrate_scan_with_saving.json
│               │   ├── id22_xrpd_collection
│               │   │   └── id22_xrpd_collection_0001
│               │   │       ├── id22_xrpd_collection_0001_1_difflab6_integrated.dat
│               │   │       ├── id22_xrpd_collection_0001_1_difflab6.json
│               │   │       └── id22_xrpd_collection_0001.h5
│               │   ├── streamline
│               │   │   ├── lab6_0_0001
│               │   │   │   ├── gallery
│               │   │   │   │   └── integrate.svg
│               │   │   │   ├── lab6_0_0001.h5
│               │   │   │   └── streamline_without_calib.json
│               │   │   ├── lab6_0_0002
│               │   │   │   ├── gallery
│               │   │   │   │   └── integrate.svg
│               │   │   │   ├── lab6_0_0002.h5
│               │   │   │   └── streamline_without_calib.json
│               │   │   ├── lab6_1_0001
│               │   │   │   ├── gallery
│               │   │   │   │   └── integrate.svg
│               │   │   │   ├── lab6_1_0001.h5
│               │   │   │   └── streamline_without_calib.json
│               │   │   ├── lab6_1_0002
│               │   │   │   ├── gallery
│               │   │   │   │   └── integrate.svg
│               │   │   │   ├── lab6_1_0002.h5
│               │   │   │   └── streamline_without_calib.json
│               │   │   ├── lab6_2_0001
│               │   │   │   ├── gallery
│               │   │   │   │   └── integrate.svg
│               │   │   │   ├── lab6_2_0001.h5
│               │   │   │   └── streamline_without_calib.json
│               │   │   └── lab6_2_0002
│               │   │       ├── gallery
│               │   │       │   └── integrate.svg
│               │   │       ├── lab6_2_0002.h5
│               │   │       └── streamline_without_calib.json
│               │   └── xrpd_collection
│               │       └── xrpd_collection_0001
│               │           ├── xrpd_collection_0001_1_difflab6.json
│               │           └── xrpd_collection_0001.h5
│               └── RAW_DATA
│                   ├── exafs_collection
│                   │   ├── exafs_collection_0001
│                   │   │   └── exafs_collection_0001.h5
│                   │   └── id002312_exafs_collection.h5
│                   ├── id002312_id00.h5
│                   ├── id22_xrpd_collection
│                   │   ├── id002312_id22_xrpd_collection.h5
│                   │   └── id22_xrpd_collection_0001
│                   │       ├── id22_xrpd_collection_0001.h5
│                   │       └── scan0001
│                   │           └── difflab6_0000.h5
│                   ├── lab6_0
│                   │   ├── id002312_lab6_0.h5
│                   │   ├── lab6_0_0001
│                   │   │   ├── lab6_0_0001.h5
│                   │   │   └── scan0001
│                   │   │       └── difflab6_0000.h5
│                   │   └── lab6_0_0002
│                   │       ├── lab6_0_0002.h5
│                   │       └── scan0001
│                   │           └── difflab6_0000.h5
│                   ├── lab6_1
│                   │   ├── id002312_lab6_1.h5
│                   │   ├── lab6_1_0001
│                   │   │   ├── lab6_1_0001.h5
│                   │   │   └── scan0001
│                   │   │       └── difflab6_0000.h5
│                   │   └── lab6_1_0002
│                   │       ├── lab6_1_0002.h5
│                   │       └── scan0001
│                   │           └── difflab6_0000.h5
│                   ├── lab6_2
│                   │   ├── id002312_lab6_2.h5
│                   │   ├── lab6_2_0001
│                   │   │   ├── lab6_2_0001.h5
│                   │   │   └── scan0001
│                   │   │       └── difflab6_0000.h5
│                   │   └── lab6_2_0002
│                   │       ├── lab6_2_0002.h5
│                   │       └── scan0001
│                   │           └── difflab6_0000.h5
│                   └── xrpd_collection
│                       ├── id002312_xrpd_collection.h5
│                       └── xrpd_collection_0001
│                           ├── scan0001
│                           │   └── difflab6_0000.h5
│                           └── xrpd_collection_0001.h5
Edited by Wout De Nolf

Merge request reports