Working with PDB Column type in Python Script nodes

I have a Python Script node in which I need to process a PDB column type, and return a new PDB column.

The library I am using takes a PDB file as it’s input as a String, and outputs it again as a String after manipulations. I cannot see anywhere:

  • How to ‘unwrap’ the incoming object from the PDB column to get the underlying String

  • How to ‘wrap’ the resulting new PDB String back into a PDB column type

Please can anyone help?

Thanks

Steve