Skip to content

Commit

Permalink
Add specializers
Browse files Browse the repository at this point in the history
  • Loading branch information
meister committed May 28, 2024
1 parent 011fae3 commit 31d7f00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lisp/topology/shape.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@

(defgeneric make-oligomer-shape (oligomer-or-space rotamers-db &key))

(defmethod make-oligomer-shape ((oligomer oligomer) rotamers-database
(defmethod make-oligomer-shape ((oligomer oligomer) (rotamers-database rotamers-database)
&key (oligomer-shape-class-name 'oligomer-shape)
monomer-shape-factory (orientation (make-orientation))
initial-rotamer-index
Expand Down Expand Up @@ -287,7 +287,7 @@
#+(or)(write-rotamers ss (first-rotamers ss))
os))))

(defmethod make-oligomer-shape ((oligomer-space oligomer-space) rotamers-database &key (oligomer-index 0) (orientation (make-orientation)) name initial-rotamer-index)
(defmethod make-oligomer-shape ((oligomer-space oligomer-space) (rotamers-database rotamers-database) &key (oligomer-index 0) (orientation (make-orientation)) name initial-rotamer-index)
(let ((oligomer (make-oligomer oligomer-space oligomer-index)))
(make-oligomer-shape oligomer rotamers-database :orientation orientation :name name
:initial-rotamer-index initial-rotamer-index)))
Expand Down

0 comments on commit 31d7f00

Please sign in to comment.