Skip to content

Commit

Permalink
Change aggregate field
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Jan 16, 2025
1 parent 91d3611 commit 8439d40
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion plugins/bed/src/BigBedAdapter/configSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const BigBedAdapter = ConfigurationSchema(
aggregateField: {
type: 'string',
description: 'An attribute to aggregate features with',
defaultValue: 'geneName',
defaultValue: 'geneName2',
},
},
{ explicitlyTyped: true },
Expand Down
7 changes: 3 additions & 4 deletions plugins/variants/src/VcfFeature/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,9 @@ export function getSOTermAndDescription(
}),
)
}
if (soTerms.size) {
return [[...soTerms].join(','), [...descriptions].join(',')]
}
return []
return soTerms.size
? [[...soTerms].join(','), [...descriptions].join(',')]
: []
}

export function getSOAndDescFromAltDefs(alt: string, parser: VCF): string[] {
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2325,9 +2325,9 @@
integrity sha512-BTMPPUS667K2eGQ6ASc69908l3hDWF2sV/ZoTuMqIz1AfiHuaDMpcdELNf61bVeTWvUUFG5qkOQApcWMvlIvjw==

"@gmod/vcf@^6.0.0":
version "6.0.3"
resolved "https://registry.yarnpkg.com/@gmod/vcf/-/vcf-6.0.3.tgz#ad0b6a56a39d24c6433cc7cc340b59cc5a3559f2"
integrity sha512-an+wUQuew/HbBzWUGX99preQnUeNqSZYGwO54OwjcUUX6JLpnny2xOBBmVpP78V3zlJFsaTBN4Ek4GOCUAMMJg==
version "6.0.6"
resolved "https://registry.yarnpkg.com/@gmod/vcf/-/vcf-6.0.6.tgz#8b82c0d6c6c3badead814ca9fc39b78cad2ce1f7"
integrity sha512-pgNGVbglMrNZKUiRgxCxOEZUsF9LyGTOHxu6DJvbLU7ZJEiLo6uAHIJYTmk6Z8pdT9lLCqNd9mJCc/g0TbmpnA==

"@humanfs/core@^0.19.1":
version "0.19.1"
Expand Down Expand Up @@ -4974,9 +4974,9 @@
integrity sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==

"@types/ms@*":
version "0.7.34"
resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.34.tgz#10964ba0dee6ac4cd462e2795b6bebd407303433"
integrity sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==
version "2.1.0"
resolved "https://registry.yarnpkg.com/@types/ms/-/ms-2.1.0.tgz#052aa67a48eccc4309d7f0191b7e41434b90bb78"
integrity sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==

"@types/mute-stream@^0.0.4":
version "0.0.4"
Expand Down

0 comments on commit 8439d40

Please sign in to comment.