Error Decoding Plan with Couch 90 or 270 degree

Hi Everyone

Do you encounter error when analysing a plan with couch 90 or couch 270 VMAT?
We use Monaco v5.11.03

regards,
LipTeck

Here’s the error message:

ValueError: Decoded table didn't pass shape test
Traceback:

File "/home/physics/pymedphys/env/lib/python3.8/site-packages/streamlit/script_runner.py", line 332, in _run_script
    exec(code, module.__dict__)
File "/home/physics/pymedphys/env/lib/python3.8/site-packages/pymedphys/_app.py", line 24, in <module>
    main()
File "/home/physics/pymedphys/env/lib/python3.8/site-packages/pymedphys/_app.py", line 20, in main
    index.main()
File "/home/physics/pymedphys/env/lib/python3.8/site-packages/pymedphys/_streamlit/index.py", line 149, in main
    application_function()
File "/home/physics/pymedphys/env/lib/python3.8/site-packages/pymedphys/_streamlit/apps/metersetmap/main.py", line 679, in main
    evaluation_results = get_input_data_ui(
File "/home/physics/pymedphys/env/lib/python3.8/site-packages/pymedphys/_streamlit/apps/metersetmap/main.py", line 188, in get_input_data_ui
    results = data_method_map[data_method](  # type: ignore
File "/home/physics/pymedphys/env/lib/python3.8/site-packages/pymedphys/_streamlit/apps/metersetmap/_trf.py", line 258, in trf_input_method
    header, table = read_trf(path_or_binary)
File "/home/physics/pymedphys/env/lib/python3.8/site-packages/streamlit/caching.py", line 604, in wrapped_func
    return get_or_create_cached_value()
File "/home/physics/pymedphys/env/lib/python3.8/site-packages/streamlit/caching.py", line 588, in get_or_create_cached_value
    return_value = func(*args, **kwargs)
File "/home/physics/pymedphys/env/lib/python3.8/site-packages/pymedphys/_streamlit/apps/metersetmap/_trf.py", line 30, in read_trf
    return pymedphys.read_trf(trf)
File "/home/physics/pymedphys/env/lib/python3.8/site-packages/pymedphys/_vendor/deprecated.py", line 63, in new_func1
    return func1(*args, **kwargs)
File "/home/physics/pymedphys/env/lib/python3.8/site-packages/pymedphys/_trf/decode/trf2pandas.py", line 46, in trf2pandas
    table_dataframe = decode_trf_table(trf_table_contents)
File "/home/physics/pymedphys/env/lib/python3.8/site-packages/pymedphys/_trf/decode/table.py", line 145, in decode_trf_table
    decoded_rows, column_adjustment_key = decode_rows(trf_table_contents)
File "/home/physics/pymedphys/env/lib/python3.8/site-packages/pymedphys/_trf/decode/table.py", line 96, in decode_rows
    raise ValueError("Decoded table didn't pass shape test")

Can you supply the pymedphys version with these too?

Hi Simon

I’ve encountered this error in the previous version:

0.36.0-dev2

regards,

LipTeck

What does the error message say in 0.37.0dev1

Hi Simon

So far, I have not seen this appearing in the version 0.37.0dev1.

regards,
LipTeck