Bulk Create Tasks}>
- Specify each new task on a separate line as comma seperated values (CSV) in the
+ Specify each new task on a separate line as comma separated values (CSV) in the
following format:
dataset, taskTypeId, experienceDomain,
diff --git a/frontend/javascripts/admin/task/task_search_form.tsx b/frontend/javascripts/admin/task/task_search_form.tsx
index 6e7a2e962f5..e5595177f53 100644
--- a/frontend/javascripts/admin/task/task_search_form.tsx
+++ b/frontend/javascripts/admin/task/task_search_form.tsx
@@ -92,7 +92,7 @@ function TaskSearchForm({ onChange, initialFieldValues, isLoading, onDownloadAll
const queryObject: QueryObject = {
ids: formValues.taskId
?.trim()
- .replace(/,?\s+,?/g, ",") // replace remaining whitespaces with commata
+ .replace(/,?\s+,?/g, ",") // replace remaining whitespaces with commas
.split(",")
.filter((taskId: string) => taskId.length > 0),
taskType: formValues.taskTypeId,
diff --git a/frontend/javascripts/admin/user/user_list_view.tsx b/frontend/javascripts/admin/user/user_list_view.tsx
index 491f590e442..839a3341fcd 100644
--- a/frontend/javascripts/admin/user/user_list_view.tsx
+++ b/frontend/javascripts/admin/user/user_list_view.tsx
@@ -249,7 +249,7 @@ function UserListView({ activeUser, activeOrganization }: Props) {
return (
- // @ts-expect-error ts-migrate(2322) FIXME: Type 'FilterValue' is not assignable to type '("tr... Remove this comment to see the full erro(messag)
+ // @ts-expect-error ts-migrate(2322) FIXME: Type 'FilterValue' is not assignable to type '("tr... Remove this comment to see the full error(message)
setActivationFilter(filters.isActive != null ? filters.isActive : [])
}
onRow={(user) => ({
diff --git a/frontend/javascripts/dashboard/dataset/dataset_settings_sharing_tab.tsx b/frontend/javascripts/dashboard/dataset/dataset_settings_sharing_tab.tsx
index a363418e300..16789977474 100644
--- a/frontend/javascripts/dashboard/dataset/dataset_settings_sharing_tab.tsx
+++ b/frontend/javascripts/dashboard/dataset/dataset_settings_sharing_tab.tsx
@@ -87,7 +87,7 @@ function DatasetSettingsSharingTab({ form, datasetId, dataset, activeUser }: Pro
const panelLabel = (
All users with access permission to work with this dataset{" "}
-
+
diff --git a/frontend/javascripts/dashboard/dataset/dataset_settings_view.tsx b/frontend/javascripts/dashboard/dataset/dataset_settings_view.tsx
index 4b1c8bc31d2..05fb176b619 100644
--- a/frontend/javascripts/dashboard/dataset/dataset_settings_view.tsx
+++ b/frontend/javascripts/dashboard/dataset/dataset_settings_view.tsx
@@ -377,7 +377,7 @@ class DatasetSettingsView extends React.PureComponent(
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/input.ts b/frontend/javascripts/libs/input.ts
index b375d1f17c2..f260bbc2687 100644
--- a/frontend/javascripts/libs/input.ts
+++ b/frontend/javascripts/libs/input.ts
@@ -296,7 +296,7 @@ export class InputKeyboard {
this.bindings.push(binding);
}
- // In order to continously fire callbacks we have to loop
+ // In order to continuously fire callbacks we have to loop
// through all the buttons that a marked as "pressed".
buttonLoop() {
if (!this.isStarted) {
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/libs/toast.tsx b/frontend/javascripts/libs/toast.tsx
index 993c34bc96b..4afbc5664c1 100644
--- a/frontend/javascripts/libs/toast.tsx
+++ b/frontend/javascripts/libs/toast.tsx
@@ -154,7 +154,7 @@ const Toast = {
await animationFrame(); // ensure tab is active
await sleep(splitTimeout);
await animationFrame();
- // If the user has switched the tab, show the toast again so that the user doesn't just see the toast dissapear.
+ // If the user has switched the tab, show the toast again so that the user doesn't just see the toast disappear.
await sleep(splitTimeout);
if (cancelledTimeout) {
// If the toast has been closed early, don't close it again.
diff --git a/frontend/javascripts/libs/utils.ts b/frontend/javascripts/libs/utils.ts
index 5edc80b86f2..d3625aadd62 100644
--- a/frontend/javascripts/libs/utils.ts
+++ b/frontend/javascripts/libs/utils.ts
@@ -400,7 +400,7 @@ export function localeCompareBy(
export function stringToNumberArray(s: string): Array {
// remove leading/trailing whitespaces
s = s.trim();
- // replace remaining whitespaces with commata
+ // replace remaining whitespaces with commas
s = s.replace(/,?\s+,?/g, ",");
const stringArray = s.split(",");
const result = [];
diff --git a/frontend/javascripts/main.tsx b/frontend/javascripts/main.tsx
index abfbb7a784a..f512be4236b 100644
--- a/frontend/javascripts/main.tsx
+++ b/frontend/javascripts/main.tsx
@@ -55,7 +55,7 @@ const localStoragePersister = createSyncStoragePersister({
});
async function loadActiveUser() {
- // Try to retreive the currently active user if logged in
+ // Try to retrieve the currently active user if logged in
try {
const user = await getActiveUser({
showErrorToast: false,
diff --git a/frontend/javascripts/messages.tsx b/frontend/javascripts/messages.tsx
index e269cf78307..d9b7700b280 100644
--- a/frontend/javascripts/messages.tsx
+++ b/frontend/javascripts/messages.tsx
@@ -412,7 +412,7 @@ instead. Only enable this option if you understand its effect. All layers will n
"Your account has been created. An administrator is going to unlock you soon.",
"auth.automatic_user_activation": "User was activated automatically",
"auth.error_no_user": "No active user is logged in.",
- "auth.error_no_organization": "No active organziation can be loaded.",
+ "auth.error_no_organization": "No active organization can be loaded.",
"auth.invalid_organization_name":
"The link is not valid, since the specified organization does not exist. You are being redirected to the general registration form.",
"request.max_item_count_alert":
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/api/api_latest.ts b/frontend/javascripts/oxalis/api/api_latest.ts
index 544a9917a8d..97b2020d372 100644
--- a/frontend/javascripts/oxalis/api/api_latest.ts
+++ b/frontend/javascripts/oxalis/api/api_latest.ts
@@ -788,7 +788,7 @@ class TracingApi {
{ groupId: parentGroupId === MISSING_GROUP_ID ? null : parentGroupId },
volumeTracing.tracingId,
// The parameter createsNewUndoState is not passed, since the action
- // is added to a batch and batch updates always crate a new undo state.
+ // is added to a batch and batch updates always create a new undo state.
),
);
}
diff --git a/frontend/javascripts/oxalis/controller/segment_mesh_controller.ts b/frontend/javascripts/oxalis/controller/segment_mesh_controller.ts
index 36026b69b1f..5c841b352c2 100644
--- a/frontend/javascripts/oxalis/controller/segment_mesh_controller.ts
+++ b/frontend/javascripts/oxalis/controller/segment_mesh_controller.ts
@@ -191,7 +191,7 @@ export default class SegmentMeshController {
const segmentationTracing = getActiveSegmentationTracing(Store.getState());
if (segmentationTracing != null) {
// addMeshFromGeometries is often called multiple times for different sets of geometries.
- // Therefore, used a throttled varaint of the highlightUnmappedSegmentId method.
+ // Therefore, used a throttled variant of the highlightUnmappedSegmentId method.
this.throttledHighlightUnmappedSegmentId(segmentationTracing.activeUnmappedSegmentId);
}
}
diff --git a/frontend/javascripts/oxalis/controller/td_controller.tsx b/frontend/javascripts/oxalis/controller/td_controller.tsx
index f22b7928e21..920537e22a8 100644
--- a/frontend/javascripts/oxalis/controller/td_controller.tsx
+++ b/frontend/javascripts/oxalis/controller/td_controller.tsx
@@ -116,7 +116,7 @@ class TDController extends React.PureComponent {
this.props.tracing &&
this.props.tracing.skeleton
) {
- // The rotation center of this viewport is not updated to the new position after selecing a node in the viewport.
+ // The rotation center of this viewport is not updated to the new position after selecting a node in the viewport.
// This happens because the selection of the node does not trigger a call to setTargetAndFixPosition directly.
// Thus we do it manually whenever the active node changes.
getActiveNode(this.props.tracing.skeleton).map((activeNode) =>
diff --git a/frontend/javascripts/oxalis/geometries/skeleton.ts b/frontend/javascripts/oxalis/geometries/skeleton.ts
index faa17d9a79d..30e63bcc87d 100644
--- a/frontend/javascripts/oxalis/geometries/skeleton.ts
+++ b/frontend/javascripts/oxalis/geometries/skeleton.ts
@@ -222,7 +222,7 @@ class Skeleton {
const mesh = helper.buildMesh(geometry, material);
// Frustum culling is disabled because nodes that are transformed
// wouldn't be culled correctly.
- // In basic testing, culling didn't provide a noticable performance
+ // In basic testing, culling didn't provide a noticeable performance
// improvement (tested with 500k skeleton nodes).
mesh.frustumCulled = false;
this.rootGroup.add(mesh);
diff --git a/frontend/javascripts/oxalis/model/bucket_data_handling/prefetch_strategy_plane.ts b/frontend/javascripts/oxalis/model/bucket_data_handling/prefetch_strategy_plane.ts
index 8d156496213..587db241a61 100644
--- a/frontend/javascripts/oxalis/model/bucket_data_handling/prefetch_strategy_plane.ts
+++ b/frontend/javascripts/oxalis/model/bucket_data_handling/prefetch_strategy_plane.ts
@@ -26,9 +26,9 @@ export class AbstractPrefetchStrategy {
roundTripTimeRangeEnd: number = 0;
contentTypes: Array = [];
name: string = "ABSTRACT";
- // @ts-expect-error ts-migrate(2564) FIXME: Property 'u' has no initializer and is not definit... Remove this comment to see the full error message
+ // @ts-expect-error ts-migrate(2564) FIXME: Property 'u' has no initializer and is not definite... Remove this comment to see the full error message
u: DimensionIndices;
- // @ts-expect-error ts-migrate(2564) FIXME: Property 'v' has no initializer and is not definit... Remove this comment to see the full error message
+ // @ts-expect-error ts-migrate(2564) FIXME: Property 'v' has no initializer and is not definite... Remove this comment to see the full error message
v: DimensionIndices;
forContentType(givenContentTypes: Record): boolean {
@@ -77,7 +77,7 @@ export class PrefetchStrategy extends AbstractPrefetchStrategy {
roundTripTimeRangeEnd = Infinity;
preloadingSlides = 0;
preloadingPriorityOffset = 0;
- // @ts-expect-error ts-migrate(2564) FIXME: Property 'w' has no initializer and is not definit... Remove this comment to see the full error message
+ // @ts-expect-error ts-migrate(2564) FIXME: Property 'w' has no initializer and is not definite... Remove this comment to see the full error message
w: DimensionIndices;
prefetch(
diff --git a/frontend/javascripts/oxalis/model/bucket_data_handling/pushqueue.ts b/frontend/javascripts/oxalis/model/bucket_data_handling/pushqueue.ts
index 549d4293858..8df76a61760 100644
--- a/frontend/javascripts/oxalis/model/bucket_data_handling/pushqueue.ts
+++ b/frontend/javascripts/oxalis/model/bucket_data_handling/pushqueue.ts
@@ -28,7 +28,7 @@ class PushQueue {
// user edited the buckets in a certain time window).
private pendingBuckets: Set;
- // Everytime the pendingBuckets is flushed, its content is put into a transaction.
+ // Every time the pendingBuckets is flushed, its content is put into a transaction.
// That transaction is compressed asynchronously before it is sent to the store.
// Buckets that are currently being compressed, are counted in this property.
private compressingBucketCount: number = 0;
diff --git a/frontend/javascripts/oxalis/model/bucket_data_handling/texture_bucket_manager.ts b/frontend/javascripts/oxalis/model/bucket_data_handling/texture_bucket_manager.ts
index a1c4c5b9bdf..4aecca39080 100644
--- a/frontend/javascripts/oxalis/model/bucket_data_handling/texture_bucket_manager.ts
+++ b/frontend/javascripts/oxalis/model/bucket_data_handling/texture_bucket_manager.ts
@@ -182,7 +182,7 @@ export default class TextureBucketManager {
// Commit "active" buckets by writing these to the dataTexture.
processWriterQueue() {
// uniqBy removes multiple write-buckets-requests for the same index.
- // It preserves the first occurence of each duplicate, which is why
+ // It preserves the first occurrence of each duplicate, which is why
// this queue has to be filled from the front (via unshift) und read from the
// back (via pop). This ensures that the newest bucket "wins" if there are
// multiple buckets for the same index.
diff --git a/frontend/javascripts/oxalis/model/sagas/annotation_saga.tsx b/frontend/javascripts/oxalis/model/sagas/annotation_saga.tsx
index 2f2b83658df..322e5e3239e 100644
--- a/frontend/javascripts/oxalis/model/sagas/annotation_saga.tsx
+++ b/frontend/javascripts/oxalis/model/sagas/annotation_saga.tsx
@@ -191,7 +191,7 @@ export function* watchAnnotationAsync(): Saga {
// Consuming the latest action here handles an offline scenario better.
// If the user is offline and performs multiple changes to the annotation
// name, only the latest action is relevant. If `_takeEvery` was used,
- // all updates to the annotation name would be retried regularily, which
+ // all updates to the annotation name would be retried regularly, which
// would also cause race conditions.
yield* takeLatest("SET_ANNOTATION_NAME", pushAnnotationUpdateAsync);
yield* takeLatest("SET_ANNOTATION_VISIBILITY", pushAnnotationUpdateAsync);
diff --git a/frontend/javascripts/oxalis/model/sagas/load_histogram_data_saga.ts b/frontend/javascripts/oxalis/model/sagas/load_histogram_data_saga.ts
index d571afd00d0..399197f7c77 100644
--- a/frontend/javascripts/oxalis/model/sagas/load_histogram_data_saga.ts
+++ b/frontend/javascripts/oxalis/model/sagas/load_histogram_data_saga.ts
@@ -80,7 +80,7 @@ function* loadHistogramForLayer(layerName: string): Saga {
yield* put(updateLayerSettingAction(layerName, "intensityRange", newIntensityRange));
- // Here we also set the minium and maximum values for the intensity range that the user can enter.
+ // Here we also set the minimum and maximum values for the intensity range that the user can enter.
// If values already exist, we skip this step.
if (currentLayerConfig == null || currentLayerConfig.min == null) {
yield* put(updateLayerSettingAction(layerName, "min", minimumInHistogramData));
diff --git a/frontend/javascripts/oxalis/model/sagas/mesh_saga.ts b/frontend/javascripts/oxalis/model/sagas/mesh_saga.ts
index 138c43dfd61..09c6fd7a4b2 100644
--- a/frontend/javascripts/oxalis/model/sagas/mesh_saga.ts
+++ b/frontend/javascripts/oxalis/model/sagas/mesh_saga.ts
@@ -308,7 +308,7 @@ function removeMeshWithoutVoxels(
additionalCoordinates: AdditionalCoordinate[] | undefined | null,
) {
// If no voxels were added to the scene (e.g. because the segment doesn't have any voxels in this n-dimension),
- // remove it from the store's state aswell.
+ // remove it from the store's state as well.
const { segmentMeshController } = getSceneController();
if (!segmentMeshController.hasMesh(segmentId, layerName, additionalCoordinates)) {
Store.dispatch(removeMeshAction(layerName, segmentId));
diff --git a/frontend/javascripts/oxalis/model/sagas/min_cut_saga.ts b/frontend/javascripts/oxalis/model/sagas/min_cut_saga.ts
index 2cdb08bcf31..e6f3639f9cc 100644
--- a/frontend/javascripts/oxalis/model/sagas/min_cut_saga.ts
+++ b/frontend/javascripts/oxalis/model/sagas/min_cut_saga.ts
@@ -39,7 +39,7 @@ const DEFAULT_PADDING: Vector3 = [50, 50, 50];
const MIN_DIST_TO_SEED = 30;
const TimeoutError = new Error("Timeout");
const PartitionFailedError = new Error(
- "Segmentation could not be partioned. Zero edges removed in last iteration. Probably due to nodes being too close to each other? Aborting...",
+ "Segmentation could not be partitioned. Zero edges removed in last iteration. Probably due to nodes being too close to each other? Aborting...",
);
// If the min-cut does not succeed after 10 seconds
// in the selected mag, the next mag is tried.
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/action-bar/toolbar_view.tsx b/frontend/javascripts/oxalis/view/action-bar/toolbar_view.tsx
index d603ea218fe..70b48a40281 100644
--- a/frontend/javascripts/oxalis/view/action-bar/toolbar_view.tsx
+++ b/frontend/javascripts/oxalis/view/action-bar/toolbar_view.tsx
@@ -267,7 +267,7 @@ function OverwriteModeSwitch({
// - switching from state (1) to (2) (or vice versa)
// - switching from state (2) to (4) (or vice versa)
// Consequently, the mode is only toggled effectively, when CTRL is pressed.
- // Alternatively, we could store the selected value and the overriden value
+ // Alternatively, we could store the selected value and the overridden value
// separately in the store. However, this solution works, too.
const needsModeToggle =
(!isShiftPressed &&
@@ -908,7 +908,7 @@ export default function ToolbarView() {
!disabledInfosForTools[lastForcefulDisabledTool].isDisabled &&
activeTool === AnnotationToolEnum.MOVE
) {
- // Reenable the tool that was disabled before.
+ // Re-enable the tool that was disabled before.
setLastForcefulDisabledTool(null);
Store.dispatch(setToolAction(lastForcefulDisabledTool));
} else if (activeTool !== AnnotationToolEnum.MOVE) {
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/left-border-tabs/controls_and_rendering_settings_tab.tsx b/frontend/javascripts/oxalis/view/left-border-tabs/controls_and_rendering_settings_tab.tsx
index 76817fd4f75..1fa41694e5f 100644
--- a/frontend/javascripts/oxalis/view/left-border-tabs/controls_and_rendering_settings_tab.tsx
+++ b/frontend/javascripts/oxalis/view/left-border-tabs/controls_and_rendering_settings_tab.tsx
@@ -62,7 +62,7 @@ class ControlsAndRenderingSettingsTab extends PureComponent' is missing the followin... Remove this comment to see the full error message
+ // @ts-expect-error ts-migrate(2740) FIXME: Type 'Dictionary' is missing the following... Remove this comment to see the full error message
this.onChangeUser = _.mapValues(
this.props.userConfiguration,
(__, propertyName: keyof UserConfiguration) =>
diff --git a/frontend/javascripts/oxalis/view/merger_mode_modal_view.tsx b/frontend/javascripts/oxalis/view/merger_mode_modal_view.tsx
index 827aece60af..284b0cc8108 100644
--- a/frontend/javascripts/oxalis/view/merger_mode_modal_view.tsx
+++ b/frontend/javascripts/oxalis/view/merger_mode_modal_view.tsx
@@ -46,7 +46,7 @@ export default function MergerModeModalView({ isCloseable, onClose, progress }:
)}
You just enabled the merger mode. This mode allows to merge segmentation cells by creating
trees and nodes. Each tree maps the marked segments (the ones where nodes were created in) to
- one new segment. Create separate trees for different segements.
+ one new segment. Create separate trees for different segments.
Additionally available keyboard shortcuts:
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/frontend/javascripts/oxalis/view/plane_view.ts b/frontend/javascripts/oxalis/view/plane_view.ts
index dd07beaf9b9..c80e6b0a864 100644
--- a/frontend/javascripts/oxalis/view/plane_view.ts
+++ b/frontend/javascripts/oxalis/view/plane_view.ts
@@ -103,7 +103,7 @@ class PlaneView {
// skip rendering if nothing has changed
// This prevents the GPU/CPU from constantly
// working and keeps your lap cool
- // ATTENTION: this limits the FPS to 60 FPS (depending on the keypress update frequence)
+ // ATTENTION: this limits the FPS to 60 FPS (depending on the keypress update frequency)
if (forceRender || this.needsRerender) {
const { renderer, scene } = SceneController;
SceneController.update();
diff --git a/frontend/javascripts/oxalis/view/right-border-tabs/abstract_tree_renderer.ts b/frontend/javascripts/oxalis/view/right-border-tabs/abstract_tree_renderer.ts
index 1764fe3d0a6..929ea6c270a 100644
--- a/frontend/javascripts/oxalis/view/right-border-tabs/abstract_tree_renderer.ts
+++ b/frontend/javascripts/oxalis/view/right-border-tabs/abstract_tree_renderer.ts
@@ -32,7 +32,7 @@ const CYCLIC_TREE_ERROR = "CyclicTree";
class AbstractTreeRenderer {
canvas: HTMLCanvasElement;
- // @ts-expect-error ts-migrate(2564) FIXME: Property 'ctx' has no initializer and is not defin... Remove this comment to see the full error message
+ // @ts-expect-error ts-migrate(2564) FIXME: Property 'ctx' has no initializer and is not define... Remove this comment to see the full error message
ctx: CanvasRenderingContext2D;
nodeList: Array;
// @ts-expect-error ts-migrate(2564) FIXME: Property 'activeNodeId' has no initializer and is ... Remove this comment to see the full error message
@@ -91,7 +91,7 @@ class AbstractTreeRenderer {
}
buildTree(): AbstractNode | null | undefined {
- // Asumption: Node with smallest id is root
+ // Assumption: Node with smallest id is root
const rootId = _.min(Array.from(this.tree.nodes.keys()));
const rootNode = {
diff --git a/frontend/javascripts/oxalis/view/right-border-tabs/connectome_tab/connectome_view.tsx b/frontend/javascripts/oxalis/view/right-border-tabs/connectome_tab/connectome_view.tsx
index 5427ef29843..9ebd0dd9bce 100644
--- a/frontend/javascripts/oxalis/view/right-border-tabs/connectome_tab/connectome_view.tsx
+++ b/frontend/javascripts/oxalis/view/right-border-tabs/connectome_tab/connectome_view.tsx
@@ -420,7 +420,7 @@ class ConnectomeView extends React.Component {
(node) => node.data.type !== "synapse",
),
);
- // Auto-load the skeletons of the active agglomerates and check all occurences of the same agglomerate
+ // Auto-load the skeletons of the active agglomerates and check all occurrences of the same agglomerate
const topLevelCheckedKeys = treeData.map((topLevelTreeNode) => topLevelTreeNode.key);
const checkedKeys = Array.from(
mapAndFilterTreeData(
diff --git a/frontend/javascripts/oxalis/workers/readme.md b/frontend/javascripts/oxalis/workers/readme.md
index e5268f7f6ff..9b22867824c 100644
--- a/frontend/javascripts/oxalis/workers/readme.md
+++ b/frontend/javascripts/oxalis/workers/readme.md
@@ -26,8 +26,8 @@ See `compress.worker.js` for an example.
## Caveats
- Accessing global state (e.g., the Store) is not directly possible from web workers, since they have their own execution context. Pass necessary information into web workers via parameters.
-- By default, parameters and return values are either structurally cloned or transfered (if they support it) to/from the web worker. Copying is potentially performance-intensive and also won't propagate any mutations across the main-thread/webworker border. If objects are transferable (e.g., for ArrayBuffers, but not TypedArrays), they are moved to the new context, which means that they cannot be accessed in the old thread, anymore. In both cases, care has to be taken. In general, web workers should only be responsible for a very small (but cpu intensive) task with a bare minimum of dependencies.
+- By default, parameters and return values are either structurally cloned or transferred (if they support it) to/from the web worker. Copying is potentially performance-intensive and also won't propagate any mutations across the main-thread/webworker border. If objects are transferable (e.g., for ArrayBuffers, but not TypedArrays), they are moved to the new context, which means that they cannot be accessed in the old thread, anymore. In both cases, care has to be taken. In general, web workers should only be responsible for a very small (but cpu intensive) task with a bare minimum of dependencies.
- Not all objects can be passed between main thread and web workers (e.g., Header objects). For these cases, you have to implement and register a specific transfer handler for the object type. See `headers_transfer_handler.js` as an example.
-- Web worker files can import NPM modules and also modules from within this code base, but beware that the execution context between the main thread and web workers is strictly isolated. Webpack will create a separete JS file for each web worker into which all imported code is compiled.
+- Web worker files can import NPM modules and also modules from within this code base, but beware that the execution context between the main thread and web workers is strictly isolated. Webpack will create a separate JS file for each web worker into which all imported code is compiled.
Learn more about the Comlink module we use [here](https://github.com/GoogleChromeLabs/comlink).
diff --git a/frontend/javascripts/test/reducers/skeletontracing_reducer.spec.ts b/frontend/javascripts/test/reducers/skeletontracing_reducer.spec.ts
index 934dcf161eb..6d6ed5b51f0 100644
--- a/frontend/javascripts/test/reducers/skeletontracing_reducer.spec.ts
+++ b/frontend/javascripts/test/reducers/skeletontracing_reducer.spec.ts
@@ -177,7 +177,7 @@ test("SkeletonTracing should add nodes to a different tree", (t) => {
resolution,
);
const createTreeAction = SkeletonTracingActions.createTreeAction();
- // add a node to inital tree, then create a second tree and add two nodes
+ // add a node to initial tree, then create a second tree and add two nodes
let newState = SkeletonTracingReducer(initialState, createNodeAction);
newState = SkeletonTracingReducer(newState, createTreeAction);
newState = SkeletonTracingReducer(newState, createNodeAction);
@@ -608,7 +608,7 @@ test("SkeletonTracing should set a new node radius", (t) => {
resolution,
);
const setNodeRadiusAction = SkeletonTracingActions.setNodeRadiusAction(newRadius);
- // Create a node and change its readius
+ // Create a node and change its radius
let newState = SkeletonTracingReducer(initialState, createNodeAction);
newState = SkeletonTracingReducer(newState, setNodeRadiusAction);
t.not(newState, initialState);
diff --git a/frontend/stylesheets/antd_overwrites.less b/frontend/stylesheets/antd_overwrites.less
index 607badc4b35..224ebca1bde 100644
--- a/frontend/stylesheets/antd_overwrites.less
+++ b/frontend/stylesheets/antd_overwrites.less
@@ -1,4 +1,4 @@
-// Whenever possible try to customize antd v5 components through their "Design Tokens" and builtin themeing
+// Whenever possible try to customize antd v5 components through their "Design Tokens" and builtin theming
// See theme.tsx for details
// https://ant.design/docs/react/customize-theme
diff --git a/test/backend/SkeletonUpdateActionsUnitTestSuite.scala b/test/backend/SkeletonUpdateActionsUnitTestSuite.scala
index acbd2254da0..e0a9a749727 100644
--- a/test/backend/SkeletonUpdateActionsUnitTestSuite.scala
+++ b/test/backend/SkeletonUpdateActionsUnitTestSuite.scala
@@ -100,7 +100,7 @@ class SkeletonUpdateActionsUnitTestSuite extends PlaySpec {
}
"MoveTreeComponentSkeletonAction" should {
- "move the specified (seperate) nodes" in {
+ "move the specified (separate) nodes" in {
val moveTreeComponentSkeletonAction =
new MoveTreeComponentSkeletonAction(Dummies.comp1Nodes.map(_.id).toList, sourceId = 3, targetId = 4)
val result = moveTreeComponentSkeletonAction.applyOn(Dummies.componentSkeletonTracing)
diff --git a/test/backend/SqlEscapingTestSuite.scala b/test/backend/SqlEscapingTestSuite.scala
index c8c6554acce..b51cef65393 100644
--- a/test/backend/SqlEscapingTestSuite.scala
+++ b/test/backend/SqlEscapingTestSuite.scala
@@ -44,7 +44,7 @@ class SqlEscapingTestSuite extends PlaySpec with SqlTypeImplicits with SqlEscapi
"parse two elements if one has a comma and escaped double quotes" in {
assert(parseArrayLiteral("""{"h\"e,llo",there}""") == List("""h"e,llo""", "there"))
}
- "parse single element if the comma is between escaped duoble quotes" in {
+ "parse single element if the comma is between escaped double quotes" in {
assert(parseArrayLiteral("""{"this one has \"spe,cial\" chars"}""") == List("""this one has "spe,cial" chars"""))
}
"parse single elements if it has a comma and single escaped double quote" in {
diff --git a/tools/migrate-editable-mappings/migrate-editable-mappings.py b/tools/migrate-editable-mappings/migrate-editable-mappings.py
index 15570de6729..4a5c521febd 100755
--- a/tools/migrate-editable-mappings/migrate-editable-mappings.py
+++ b/tools/migrate-editable-mappings/migrate-editable-mappings.py
@@ -8,7 +8,7 @@
#
## Development
# Note: the generated proto python classes are checked into the repostitory next to this file.
-# To regnerate them, both old and new format editable mapping proto definitions are needed.
+# To regenerate them, both old and new format editable mapping proto definitions are needed.
#
# python3 -m grpc_tools.protoc -I../../webknossos/webknossos-datastore/proto --python_out=. --grpc_python_out=. ../../webknossos/webknossos-datastore/proto/fossildbapi.proto
#
diff --git a/tools/obj_models/obj_parser.py b/tools/obj_models/obj_parser.py
index 84220a07f5e..a33edc39b9e 100755
--- a/tools/obj_models/obj_parser.py
+++ b/tools/obj_models/obj_parser.py
@@ -17,7 +17,7 @@
''' Load a wavefront obj 3D file and parses it. It outputs the parsed
values as a stream of binary interpretation. Output as Javascript arrays
-opitonal.
+optional.
The method is far from complete.
Features:
@@ -56,14 +56,14 @@ def parseObjFile(objFile, options):
lines = myfile.read().split('\n')
lines = filter(lambda x: len(x) > 0,[x.strip() for x in lines])
- # SHOULD BE RESET AT THE FIRST OCCURANCE OF A "g" TAG
+ # SHOULD BE RESET AT THE FIRST OCCURRENCE OF A "g" TAG
currentColor = 0
for line in lines:
# HANDLE SUBGROUPS
if line[0] == 'g':
''' TODO: proper support for grouping
- FOR RIGTH NOW LETS HAVE SOME FUN WITH COLORS
+ FOR RIGHT NOW LETS HAVE SOME FUN WITH COLORS
either use a user provided color or choose from a number predefined ones '''
if len(options.color) == 0:
if currentColor < 11:
@@ -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]
@@ -172,7 +172,7 @@ def parseObjFile(objFile, options):
print "%s.js written" % objFile[:-4]
-'''Divide a polygone into triangles'''
+'''Divide a polygon into triangles'''
def triangulate(l):
triangles = []
for i in range(1,len(l)-1):
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/io/PathUtils.scala b/util/src/main/scala/com/scalableminds/util/io/PathUtils.scala
index ecf0c0b1673..8b3428cb1a7 100644
--- a/util/src/main/scala/com/scalableminds/util/io/PathUtils.scala
+++ b/util/src/main/scala/com/scalableminds/util/io/PathUtils.scala
@@ -140,7 +140,7 @@ trait PathUtils extends LazyLogging {
}
/*
- * removes the end of a path, after the last occurence of any of excludeFromPrefix
+ * removes the end of a path, after the last occurrence of any of excludeFromPrefix
* example: /path/to/color/layer/that/is/named/color/and/has/files
* becomes /path/to/color/layer/that/is/named/color
* if "color" is in excludeFromPrefix
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 =
diff --git a/webknossos-datastore/app/com/scalableminds/webknossos/datastore/models/datasource/DataLayerMapping.scala b/webknossos-datastore/app/com/scalableminds/webknossos/datastore/models/datasource/DataLayerMapping.scala
index 4813455c530..b6776c1abb0 100644
--- a/webknossos-datastore/app/com/scalableminds/webknossos/datastore/models/datasource/DataLayerMapping.scala
+++ b/webknossos-datastore/app/com/scalableminds/webknossos/datastore/models/datasource/DataLayerMapping.scala
@@ -1,7 +1,7 @@
package com.scalableminds.webknossos.datastore.models.datasource
/*
-Note: This case class is not (de)serialized to/from JSON using the build-in JSON library
+Note: This case class is not (de)serialized to/from JSON using the built-in JSON library
but instead uses the dedicated MappingParser class for performance reasons.
Whenever this data class is changed, the parser needs to be modified accordingly.
*/
diff --git a/webknossos-datastore/app/views/datastoreZarrDatasourceDir.scala.html b/webknossos-datastore/app/views/datastoreZarrDatasourceDir.scala.html
index 1214f57d7c4..83579e49230 100644
--- a/webknossos-datastore/app/views/datastoreZarrDatasourceDir.scala.html
+++ b/webknossos-datastore/app/views/datastoreZarrDatasourceDir.scala.html
@@ -6,7 +6,7 @@
WEBKNOSSOS @(kind)