Skip to content

[BUG] - Serialization issue? #94

Description

@jandestrada

Describe the bug
Qcio object failing to save, causing pydantic error.

  File "/home/jdep/T3D_data/wender_collab/dft_results/run_x3_tsopt.py", line 15, in <module>
    tsres.save("/home/jdep/T3D_data/wender_collab/dft_results/success_tsres_x_3_oct272025.qcio")
  File "/home/jdep/neb_dynamics/.venv/lib/python3.10/site-packages/qcio/models/base_models.py", line 178, in save
    model_dict = self.model_dump(
  File "/home/jdep/neb_dynamics/.venv/lib/python3.10/site-packages/pydantic/main.py", line 464, in model_dump
    return self.__pydantic_serializer__.to_python(
TypeError: 'MockValSer' object cannot be converted to 'SchemaSerializer'

To Reproduce
see DualProgramInput object attached.

for_colton.txt

Expected behavior
no error, i want joy

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions