Skip to content

Commit

Permalink
[DATALAD RUNCMD] Do interactive fixing of lapack_lite leftover ambigo…
Browse files Browse the repository at this point in the history
…us 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 ^^^
  • Loading branch information
yarikoptic committed May 13, 2024
1 parent 5dc7667 commit 1202a66
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion app/mail/Mailer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
}
}

Expand Down
2 changes: 1 addition & 1 deletion app/views/mail/jobFailedUploadConvert.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<p>
oops, unfortunately WEBKNOSSOS could not upload and convert your dataset <i>@{datasetName}</i> 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.
</p>

Expand Down
2 changes: 1 addition & 1 deletion conf/webknossos.versioned.routes
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function createDebouncedAbortableCallable<T, C>(
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,
);
Expand Down
4 changes: 2 additions & 2 deletions frontend/javascripts/libs/mjs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion frontend/javascripts/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ function OrganizationFilterInput({
}: { onChange: (val: string) => void; isVisible: boolean; onPressEnter: () => void }) {
const ref = useRef<InputRef>(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(() => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/javascripts/oxalis/shaders/texture_access.glsl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion frontend/javascripts/oxalis/view/context_menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ class NmlUploadZoneContainer extends React.PureComponent<Props, State> {
) : 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}

Expand Down
4 changes: 2 additions & 2 deletions tools/obj_models/obj_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 1202a66

Please sign in to comment.