Skip to content
Snippets Groups Projects
Commit d4d63665 authored by Xiao Gui's avatar Xiao Gui
Browse files

chore: lint

parent e74b7ea7
No related branches found
No related tags found
No related merge requests found
...@@ -112,12 +112,12 @@ export class BsFeatureIEEGCmp extends BsRegionInputBase implements OnDestroy{ ...@@ -112,12 +112,12 @@ export class BsFeatureIEEGCmp extends BsRegionInputBase implements OnDestroy{
for (const key in detail.__electrodes){ for (const key in detail.__electrodes){
const electorde = detail.__electrodes[key] const electorde = detail.__electrodes[key]
if (!electorde.inRoi) continue if (!electorde.inRoi) continue
for (const cp_key in electorde.__contact_points) { for (const cpKey in electorde.__contact_points) {
const cp = electorde.__contact_points[cp_key] const cp = electorde.__contact_points[cpKey]
lms.push({ lms.push({
"@id": `${detail.name}:${key}#${cp_key}`, "@id": `${detail.name}:${key}#${cpKey}`,
id: `${detail.name}:${key}#${cp_key}`, id: `${detail.name}:${key}#${cpKey}`,
name: `${detail.name}:${key}#${cp_key}`, name: `${detail.name}:${key}#${cpKey}`,
position: cp.coord, position: cp.coord,
color: cp.inRoi ? [255, 100, 100]: [255,255,255], color: cp.inRoi ? [255, 100, 100]: [255,255,255],
showInSliceView: this.openElectrodeIdSet.has(electorde.id) showInSliceView: this.openElectrodeIdSet.has(electorde.id)
......
...@@ -164,10 +164,10 @@ export class RegionalFeatureWrapperCmp implements OnChanges, OnDestroy{ ...@@ -164,10 +164,10 @@ export class RegionalFeatureWrapperCmp implements OnChanges, OnDestroy{
arg['name'] = contextedFeature.result['name'] arg['name'] = contextedFeature.result['name']
arg['description'] = ' ' arg['description'] = ' '
arg['isGdprProtected'] = true arg['isGdprProtected'] = true
arg['urls'] = [] arg['urls'] = []
for (const info of contextedFeature.result['origin_datainfos']) { for (const info of contextedFeature.result['origin_datainfos']) {
arg['urls'].push(...(info.urls || [])) arg['urls'].push(...(info.urls || []))
} }
} }
if (contextedFeature.featureName === EbrainsRegionalFeatureName) { if (contextedFeature.featureName === EbrainsRegionalFeatureName) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment