We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69d594a commit 5091b57Copy full SHA for 5091b57
1 file changed
src/js/ideogram.js
@@ -201,7 +201,9 @@ export default class Ideogram {
201
aIsCP = a.type === 'chloroplast',
202
bIsCP = b.type === 'chloroplast',
203
aIsMT = a.type === 'mitochondrion',
204
- bIsMT = b.type === 'mitochondrion';
+ bIsMT = b.type === 'mitochondrion',
205
+ aIsAP = a.type === 'apicoplast',
206
+ bIsAP = b.type === 'apicoplast';
207
// aIsPlastid = aIsMT && a.name !== 'MT', // e.g. B1 in rice genome GCF_001433935.1
208
// bIsPlastid = bIsMT && b.name !== 'MT';
209
@@ -213,7 +215,7 @@ export default class Ideogram {
213
215
return 1;
214
216
} else if (aIsCP && bIsMT) {
217
return -1;
- } else if (!aIsMT && !aIsCP && (bIsMT || bIsCP)) {
218
+ } else if (!aIsAP && !aIsMT && !aIsCP && (bIsMT || bIsCP || bIsAP)) {
219
220
}
221
0 commit comments