fix chirality mismatches
This commit is contained in:
parent
65cc62d172
commit
6be90c4376
1 changed files with 4 additions and 1 deletions
|
|
@ -190,7 +190,10 @@
|
|||
}
|
||||
if (adjacent.length === 1) {
|
||||
if (line.v2 !== adjacent[0].v1) {
|
||||
console.log('chirality mismatch');
|
||||
let tmp = adjacent[0].v1;
|
||||
adjacent[0].v1 = adjacent[0].v2;
|
||||
adjacent[0].v2 = tmp;
|
||||
// console.log('chirality mismatch fixed');
|
||||
}
|
||||
line = adjacent[0];
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue