Skip to content

Commit

Permalink
add newly defined functions to pxd files
Browse files Browse the repository at this point in the history
as requested in: #2687 (comment)
  • Loading branch information
JacksonBurns committed Dec 3, 2024
1 parent 8aff585 commit 527b80b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rmgpy/molecule/group.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ cimport rmgpy.molecule.molecule as mol
from cpython cimport bool
################################################################################

cdef bool check_set(super_list, sub_list)

cdef list add_cb_atom_to_ring(ring, cb_atom)

cdef list merge_overlapping_benzene_rings(ring1, ring2, od)

cdef class GroupAtom(Vertex):

cdef public list atomtype
Expand Down
2 changes: 2 additions & 0 deletions rmgpy/molecule/molecule.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ from rmgpy.molecule.graph cimport Vertex, Edge, Graph
################################################################################
cdef dict bond_orders

cdef tuple _skip_first(in_tuple)

cdef class Atom(Vertex):

cdef public Element element
Expand Down
4 changes: 4 additions & 0 deletions rmgpy/molecule/resonance.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
from rmgpy.molecule.graph cimport Vertex, Edge, Graph
from rmgpy.molecule.molecule cimport Atom, Bond, Molecule

cdef int _sum_atom_ids(atom_list)

cdef tuple _tuplize_bond(bond)

cpdef list populate_resonance_algorithms(dict features=?)

cpdef dict analyze_molecule(Graph mol, bint save_order=?)
Expand Down
2 changes: 2 additions & 0 deletions rmgpy/reaction.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ cimport numpy as np

################################################################################

cdef tuple get_sorting_key(spc)

cdef class Reaction:
cdef public int index
cdef public str label
Expand Down

0 comments on commit 527b80b

Please sign in to comment.