Skip to content

Commit 24584ea

Browse files
committed
fix typos in structure data model
1 parent dd114d0 commit 24584ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

structure/alignment-data-model.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,14 +215,14 @@ ensemble constructor. An example on how to do it programatically is below:
215215
Atom[] chain2;
216216
boolean flexible = false;
217217
MultipleAlignmentEnsemble ensemble = new MultipleAlignmentEnsemble(afpChain, chain1, chain2, false);
218-
MultipleAlignment converted = ensemble.getMultipleAlignments().get(0);
218+
MultipleAlignment converted = ensemble.getMultipleAlignment(0);
219219
```
220220

221221
There is no method to convert from a `MultipleAlignment` to an `AFPChain`, because
222222
the first representation supports any number of structures, while the second is
223223
only supporting pairwise alignments. However, the conversion can be done with some
224224
lines of code if needed (instantiate a new `AFPChain` and copy one by one the
225-
properties that can be represented from the `MultipleAlignment`.
225+
properties that can be represented from the `MultipleAlignment`).
226226

227227
===
228228

0 commit comments

Comments
 (0)