You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught (in promise) TypeError: Cannot create property 'chrIndex' on string '1'
at ql.ac [as getChromosomeModel] (chromosome-model.js:176:7)
at li (init.js:31:21)
at ql.hi [as initDrawChromosomes] (init.js:85:5)
at ql.Jr [as finishInit] (finish-init.js:91:8)
at ql.ii [as writeContainer] (write-container.js:113:8)
at init.js:234:10
with no Ideogram displayed. When logging (chr, bands, chrName, ) in the getChromosomeModel function before chr = getChrModelScaffold(chr, bands, chrName, ideo); I get the output
{}undefined'1'
and when logging chr after the getChrModelScaffold I get
1
as described in the error.
If I do not provide dataDir the output instead becomes
Using the band file
cicer-arietinum.json
in./data/bands/cicer-arietinum.json
And the ideogram config
I get the error
with no Ideogram displayed. When logging
(chr, bands, chrName, )
in thegetChromosomeModel
function beforechr = getChrModelScaffold(chr, bands, chrName, ideo);
I get the outputand when logging
chr
after thegetChrModelScaffold
I getas described in the error.
If I do not provide
dataDir
the output instead becomeswhich is the expected output and also creates the ideogram with expected behavior
Issue seems to stem from when organism has no
bandsArray
AND a string array of chromosome names forideogram.config.chromosomes
likeinstead of
or
The text was updated successfully, but these errors were encountered: