@twin22jw Here is the minimal proof of concept that writes what I believe to be the correct (or close to it) structure for further pycold processing.
I've attempted to comment it heavily to make parsing / extending it easier. Please let me know if there are any questions.
If you have pycold installed, you can execute the doctest example either by copy/pasting it into IPython, or you can run it from the command line by using xdoctest: xdoctest -m pycold.imagetool.prepare_kwcoco
@twin22jw Here is the minimal proof of concept that writes what I believe to be the correct (or close to it) structure for further pycold processing.
I've attempted to comment it heavily to make parsing / extending it easier. Please let me know if there are any questions.
If you have pycold installed, you can execute the doctest example either by copy/pasting it into IPython, or you can run it from the command line by using xdoctest:
xdoctest -m pycold.imagetool.prepare_kwcoco
The output should look something like this: