Skip to content

More informative failure messages for InsertionElectrodeMaker #1245

@esoteric-ephemera

Description

@esoteric-ephemera

To do with lower priority:

  • Increase the transparency for reasons why the ElectrodeInsertionMaker fails. Right now, the flow can stop in multiple places and the reasons aren't clear to the end user
  • Failure type 1: If no topotactic insertions were found (structural framework after insertion changed) then the get_min_energy_summary returns None and get_stable_inserted_results fails. Should throw an error in get_stable_inserted_results
  • Failure type 2: InsertionElectrodeDoc.from_entries returns None if it cannot process the flow output. That causes get_insertion_electrode_doc to fail with a schema error. Should return a minimal InsertionElectrodeDoc with failure reasons

There are probably others - would appreciate if anyone using these flows could comment!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions