From 1202a66f7165788ea34dc620ac6c6b47f918d190 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Mon, 13 May 2024 13:46:49 -0400 Subject: [PATCH] [DATALAD RUNCMD] Do interactive fixing of lapack_lite leftover ambigous typos === Do not change lines below === { "chain": [], "cmd": "codespell -w -i 3 -C 2", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ --- app/mail/Mailer.scala | 2 +- app/views/mail/jobFailedUploadConvert.scala.html | 2 +- conf/webknossos.versioned.routes | 2 +- frontend/javascripts/libs/async/debounced_abortable_saga.ts | 2 +- frontend/javascripts/libs/mjs.ts | 4 ++-- frontend/javascripts/navbar.tsx | 2 +- frontend/javascripts/oxalis/shaders/texture_access.glsl.ts | 2 +- frontend/javascripts/oxalis/view/context_menu.tsx | 2 +- .../javascripts/oxalis/view/nml_upload_zone_container.tsx | 2 +- tools/obj_models/obj_parser.py | 4 ++-- .../com/scalableminds/util/cache/LRUConcurrentCache.scala | 2 +- .../scala/com/scalableminds/util/mvc/ExtendedController.scala | 2 +- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/app/mail/Mailer.scala b/app/mail/Mailer.scala index db986cbe360..1c64161a94d 100644 --- a/app/mail/Mailer.scala +++ b/app/mail/Mailer.scala @@ -65,7 +65,7 @@ class Mailer(conf: MailerConfig) extends Actor with LazyLogging { multiPartMail.send () } else { - logger.info("Mail was not sent as no smpt host is configured.") + logger.info("Mail was not sent as no smtp host is configured.") } } diff --git a/app/views/mail/jobFailedUploadConvert.scala.html b/app/views/mail/jobFailedUploadConvert.scala.html index 223845ca9dc..80c3d557e33 100644 --- a/app/views/mail/jobFailedUploadConvert.scala.html +++ b/app/views/mail/jobFailedUploadConvert.scala.html @@ -5,7 +5,7 @@

oops, unfortunately WEBKNOSSOS could not upload and convert your dataset @{datasetName} automatically. - This should not have happend and we are sorry about the inconvenience. Our engineers will investigate and fix the + This should not have happened and we are sorry about the inconvenience. Our engineers will investigate and fix the problem as soon as possible.

diff --git a/conf/webknossos.versioned.routes b/conf/webknossos.versioned.routes index 94f0925da78..8dd87039521 100644 --- a/conf/webknossos.versioned.routes +++ b/conf/webknossos.versioned.routes @@ -8,7 +8,7 @@ # new in v5: annotation layers (changed annotation json result, changed createExplorational params) # new in v4: project queried by id, not name (changed route parameters) # new in v3: annotation info and finish request now take timestamp - # new in v2: annotation json constains visibility enum instead of booleans + # new in v2: annotation json contains visibility enum instead of booleans -> /v6/ webknossos.latest.Routes diff --git a/frontend/javascripts/libs/async/debounced_abortable_saga.ts b/frontend/javascripts/libs/async/debounced_abortable_saga.ts index 63feaa1f8ba..beab5188acd 100644 --- a/frontend/javascripts/libs/async/debounced_abortable_saga.ts +++ b/frontend/javascripts/libs/async/debounced_abortable_saga.ts @@ -34,7 +34,7 @@ export function createDebouncedAbortableCallable( debouncedAbortableSagaRunner, debounceThreshold, triggerChannel, - // @ts-expect-error TS thinks fn doesnt match, but it does. + // @ts-expect-error TS thinks fn doesn't match, but it does. fn, context, ); diff --git a/frontend/javascripts/libs/mjs.ts b/frontend/javascripts/libs/mjs.ts index 1402b1f3b4c..fba11891471 100644 --- a/frontend/javascripts/libs/mjs.ts +++ b/frontend/javascripts/libs/mjs.ts @@ -243,7 +243,7 @@ const V2 = { const _tmpVec: Vector3 = [0, 0, 0]; -// @ts-ignore TS claims that the implementation doesnt match the overloading +// @ts-ignore TS claims that the implementation doesn't match the overloading function round(v: Vector3, r?: Vector3 | null | undefined): Vector3; function round(v: Vector3Like, r?: Float32Array | null | undefined) { if (r == null) { @@ -256,7 +256,7 @@ function round(v: Vector3Like, r?: Float32Array | null | undefined) { return r; } -// @ts-ignore TS claims that the implementation doesnt match the overloading +// @ts-ignore TS claims that the implementation doesn't match the overloading function divide3(a: Vector3, k: Vector3, r?: Vector3): Vector3; function divide3(a: Float32Array, k: Float32Array, r?: Float32Array) { if (r == null) r = new Float32Array(3); diff --git a/frontend/javascripts/navbar.tsx b/frontend/javascripts/navbar.tsx index 1136ab5d8d5..f1219678fe0 100644 --- a/frontend/javascripts/navbar.tsx +++ b/frontend/javascripts/navbar.tsx @@ -517,7 +517,7 @@ function OrganizationFilterInput({ }: { onChange: (val: string) => void; isVisible: boolean; onPressEnter: () => void }) { const ref = useRef(null); - // biome-ignore lint/correctness/useExhaustiveDependencies: Biome doesnt understand that ref.current is accessed? + // biome-ignore lint/correctness/useExhaustiveDependencies: Biome doesn't understand that ref.current is accessed? useEffect(() => { if (ref?.current && isVisible) { setTimeout(() => { diff --git a/frontend/javascripts/oxalis/shaders/texture_access.glsl.ts b/frontend/javascripts/oxalis/shaders/texture_access.glsl.ts index edb7a0660af..e3a3bb82a4c 100644 --- a/frontend/javascripts/oxalis/shaders/texture_access.glsl.ts +++ b/frontend/javascripts/oxalis/shaders/texture_access.glsl.ts @@ -52,7 +52,7 @@ export const getRgbaAtXYIndex: ShaderModule = { <% _.each(layerNamesWithSegmentation, (name) => { %> vec4 getRgbaAtXYIndex_<%= name %>(float textureIdx, float x, float y) { - // Since WebGL 1 doesnt allow dynamic texture indexing, we use an exhaustive if-else-construct + // Since WebGL 1 doesn't allow dynamic texture indexing, we use an exhaustive if-else-construct // here which checks for each case individually. The else-if-branches are constructed via // lodash templates. diff --git a/frontend/javascripts/oxalis/view/context_menu.tsx b/frontend/javascripts/oxalis/view/context_menu.tsx index c7d6d898d9a..1328aade4b4 100644 --- a/frontend/javascripts/oxalis/view/context_menu.tsx +++ b/frontend/javascripts/oxalis/view/context_menu.tsx @@ -1503,7 +1503,7 @@ function ContextMenuInner(propsWithInputRef: Props) { nodeContextMenuTree = tree; }); } - // TS doesnt understand the above initialization and assumes the values + // TS doesn't understand the above initialization and assumes the values // are always null. The following NOOP helps TS with the correct typing. nodeContextMenuTree = nodeContextMenuTree as Tree | null; nodeContextMenuNode = nodeContextMenuNode as MutableNode | null; diff --git a/frontend/javascripts/oxalis/view/nml_upload_zone_container.tsx b/frontend/javascripts/oxalis/view/nml_upload_zone_container.tsx index ea9473dda3c..b9cd240c0cf 100644 --- a/frontend/javascripts/oxalis/view/nml_upload_zone_container.tsx +++ b/frontend/javascripts/oxalis/view/nml_upload_zone_container.tsx @@ -291,7 +291,7 @@ class NmlUploadZoneContainer extends React.PureComponent { ) : null} { // If the user explicitly selected the menu option to import NMLs, - // we show a proper modal which renderes almost the same hint ("You may drag... or click"). + // we show a proper modal which renders almost the same hint ("You may drag... or click"). } {this.props.showDropzoneModal ? this.renderDropzoneModal() : null} diff --git a/tools/obj_models/obj_parser.py b/tools/obj_models/obj_parser.py index 6744c00b8c8..a33edc39b9e 100755 --- a/tools/obj_models/obj_parser.py +++ b/tools/obj_models/obj_parser.py @@ -105,7 +105,7 @@ def parseObjFile(objFile, options): normalsIndex.append(verts[2] - 1) # HANDLE QUADS / POLYGONS - # triangulate face woth more than three vertices + # triangulate face worth more than three vertices else: polygonFaces = [] polygonTextures = [] @@ -142,7 +142,7 @@ def parseObjFile(objFile, options): ''' Flatten all the list and loose the "vector" structure. This is necassary in order to properly export everything. Btw, yes I know all of these 3 arrays have the same length and could therefore be - interated over in one loop. :-) + iterated over in one loop. :-) ''' vertices = [number for vertex in vertices for number in vertex] vertexNormals = [number for normal in vertexNormals for number in normal] diff --git a/util/src/main/scala/com/scalableminds/util/cache/LRUConcurrentCache.scala b/util/src/main/scala/com/scalableminds/util/cache/LRUConcurrentCache.scala index 391c2aa7d83..49ad92533cc 100644 --- a/util/src/main/scala/com/scalableminds/util/cache/LRUConcurrentCache.scala +++ b/util/src/main/scala/com/scalableminds/util/cache/LRUConcurrentCache.scala @@ -37,7 +37,7 @@ trait LRUConcurrentCache[K, V] { } /** - * Use if load function returns Option and only Somes should be cached + * Use if load function returns Option and only Some should be cached */ def getOrLoadAndPutOptional(key: K)(loadFunction: K => Option[V]): Option[V] = get(key).orElse { diff --git a/util/src/main/scala/com/scalableminds/util/mvc/ExtendedController.scala b/util/src/main/scala/com/scalableminds/util/mvc/ExtendedController.scala index 8ed208f9cfd..05723d23f52 100644 --- a/util/src/main/scala/com/scalableminds/util/mvc/ExtendedController.scala +++ b/util/src/main/scala/com/scalableminds/util/mvc/ExtendedController.scala @@ -60,7 +60,7 @@ trait BoxToResultHelpers extends I18nSupport with Formatter with RemoteOriginHel private def jsonMessages(msgs: JsArray): JsObject = Json.obj("messages" -> msgs) - // Override this in your controller to add the CORS headers to thes results of its actions + // Override this in your controller to add the CORS headers to these results of its actions def allowRemoteOrigin: Boolean = false private def allowRemoteOriginIfSelected(result: Result): Result =