Skip to content

Commit

Permalink
Temporarily disable check.
Browse files Browse the repository at this point in the history
This should be re-enabled after zxcalc/pyzx#162 is merged.
  • Loading branch information
dlyongemallo committed Oct 1, 2023
1 parent 1d5c754 commit 9176333
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions zxlive/edit_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ def _toolbar_sections(self) -> Iterator[ToolbarSection]:
yield ToolbarSection(self.start_derivation)

def _start_derivation(self) -> None:
if not self.graph_scene.g.is_well_formed():
show_error_msg("Graph is not well-formed")
return
# TODO: re-enable after https://github.com/Quantomatic/pyzx/pull/162
# if not self.graph_scene.g.is_well_formed():
# show_error_msg("Graph is not well-formed")
# return
new_g: GraphT = copy.deepcopy(self.graph_scene.g)
for vert in new_g.vertices():
phase = new_g.phase(vert)
Expand Down

0 comments on commit 9176333

Please sign in to comment.