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

fix: lint

fix: codemeta release ci
fix: test
parent 39679cad
No related branches found
No related tags found
No related merge requests found
......@@ -70,4 +70,5 @@ jobs:
RELEASE_NOTES=$(< docs/releases/v${VERSION_NUM}.md)
CODEMETA_RELEASE_NOTES=$(jq -r '.["schema:releaseNotes"]' codemeta.json)
# use awk '{printf "%s\\n", $0}' docs/releases/v{VERSION}.md to fix
test "$RELEASE_NOTES" == "$CODEMETA_RELEASE_NOTES" && echo "Release notes matches" || exit 1
......@@ -46,7 +46,7 @@
"python 3",
"typescript"
],
"schema:releaseNotes": "# v2.14.10\n\n## Bugfix\n\n- Fix deployment scripts\n- Fix region update to updated siibra-api endpoint\n\n## Behind the scenes\n\n- Re-enable siibra-api warning mismatch warning\n- Adapt to siibra-api v0.3.18 point assignment rhetoric\n- Enable cheat code, removing obsolete experimental flags\n- If `HOST_PATHNAME` env is provided, also listens on root path\n- Added servicemeta endpoint\n\n## Known regressions\n\n- Labelled assignment now takes a little longer. Additionally, the assigned value does not match that of the index label. This will be addressed in a future update. (The temporary regression allows for significant performant statistical assignment, as well more accurate label assignment.)\n",
"schema:releaseNotes": "# v2.14.11\n\n## Feature\n\n- (experimental) showing coordinates of all warped spaces\n\n## Bugfix\n\n- Fixed inconsistent saneurl creation (Thanks to Sebastian Bludau for reporting this)\n",
"runtimePlatform": "docker",
"version": "2.14.11",
"contIntegration": "https://github.com/FZJ-INM1-BDA/siibra-explorer/actions",
......
......@@ -7,4 +7,3 @@
## Bugfix
- Fixed inconsistent saneurl creation (Thanks to Sebastian Bludau for reporting this)
import { HttpClient } from "@angular/common/http";
import { Injectable } from "@angular/core";
import { combineLatest, throwError } from "rxjs";
import { throwError } from "rxjs";
import { catchError, mapTo, switchMap, take } from "rxjs/operators";
import { IKeyValStore, NotFoundError } from '../type'
import { environment } from "src/environments/environment";
......
......@@ -16,6 +16,7 @@ import { atlasSelection } from "src/state"
import { SxplrTemplate } from "src/atlasComponents/sapi/sxplrTypes"
import { NEHUBA_INSTANCE_INJTKN } from "../util"
import { MediaQueryDirective } from "src/util/directives/mediaQuery.directive"
import { InterSpaceCoordXformSvc } from "src/atlasComponents/sapi/core/space/interSpaceCoordXform.service"
const mockNehubaConfig = {
dataset: {
......@@ -86,6 +87,13 @@ describe('> statusCard.component.ts', () => {
{
provide: NEHUBA_INSTANCE_INJTKN,
useValue: NEVER
},
{
provide: InterSpaceCoordXformSvc,
useValue: {
TmplIdToValidSpaceName() {throw new Error()},
transform(){ throw new Error() }
}
}
]
}).compileComponents()
......
......@@ -8,7 +8,7 @@ import {
import { select, Store } from "@ngrx/store";
import { LoggingService } from "src/logging";
import { NehubaViewerUnit } from "../nehubaViewer/nehubaViewer.component";
import { Observable, Subject, combineLatest, concat, forkJoin, merge, of } from "rxjs";
import { Observable, Subject, combineLatest, concat, merge, of } from "rxjs";
import { map, filter, takeUntil, switchMap, shareReplay, debounceTime, scan } from "rxjs/operators";
import { Clipboard, MatBottomSheet, MatSnackBar } from "src/sharedModules/angularMaterial.exports"
import { ARIA_LABELS, QUICKTOUR_DESC } from 'common/constants'
......@@ -174,7 +174,7 @@ export class StatusCardComponent {
of(startingValues),
merge(
...wrapTmplNames.map(
({ srcTmplName, targetTmplName, targetTmplId }) => this.xformSvc.transform(srcTmplName, targetTmplName, position.map(v => v * 1e6) as [number, number, number]).pipe(
({ srcTmplName, targetTmplName }) => this.xformSvc.transform(srcTmplName, targetTmplName, position.map(v => v * 1e6) as [number, number, number]).pipe(
map(result => {
return {
[targetTmplName]: result
......
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