pyFAI icon indicating copy to clipboard operation
pyFAI copied to clipboard

[worker] JSON serialization version 4

Open kif opened this issue 1 year ago • 2 comments

The main difference with version 3 is the separation of the description of the geometry in a poni structure instead of having it flat in the main. Before:

{
'version': 3,
'poni_version': 2.1,
'detector': 'detector',
'detector_config': {'pixel1': 1e-4, 'pixel2': 1e-4},
[...]
}

After:

{
'version': 4,
poni: {
    'poni_version': 2.1,
    'detector': 'detector',
    'detector_config': {'pixel1': 1e-4, 'pixel2': 1e-4},
   [...]
},
[...]
}

Impacts every place where workers are used:

  • [x] worker
  • [ ] io.integration_config --> doc goes there
  • [ ] diffmap
  • [ ] gui.diffmap_widget
  • [ ] gui.IntegrationDialog
  • [ ] test.test_worker
  • [ ] app.integrate

kif avatar Jul 05 '24 09:07 kif

#2249 work in progress

EdgarGF93 avatar Jul 22 '24 15:07 EdgarGF93

TODO: check the progress

kif avatar Sep 25 '24 07:09 kif

Done and further improved in 2025.01

EdgarGF93 avatar Jan 31 '25 07:01 EdgarGF93