Skip to content

Commit

Permalink
should have fixed lintint error
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandunn committed Jan 5, 2021
1 parent f3b5953 commit 1d9dda6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/apollo/js/JSONUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@ function copyOfficialData(fromFeature,toFeature){
* currently, for features with lazy-loaded children, ignores children
*/
JSONUtils.createApolloFeature = function( jfeature, specified_type, useName, specified_subtype ,is_official) {
var diagnose = (JSONUtils.verbose_conversion && jfeature.children() && jfeature.children().length > 0);
/*jshint maxcomplexity:false */
var diagnose = (JSONUtils.verbose_conversion && jfeature.children() && jfeature.children().length > 0);

if (diagnose) {
console.log("converting JBrowse feature to Apollo feture, specified type: " + specified_type + " " + specified_subtype);
Expand Down

0 comments on commit 1d9dda6

Please sign in to comment.