Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 2, 2023
1 parent 28a6d74 commit 0d8ebaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ export class GuidedUploadPage extends Page {
.then(({ physical, logical }) => {
dandiUploadSchema.properties.number_of_jobs.max = physical;
dandiUploadSchema.properties.number_of_threads.max = logical / physical;
}).catch(() => {});
})
.catch(() => {});

return (this.form = new JSONSchemaForm({
schema: dandiUploadSchema,
Expand Down
1 change: 0 additions & 1 deletion src/renderer/src/stories/pages/uploads/UploadsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ export class UploadsPage extends Page {
await fetch(new URL("cpus", baseUrl))
.then((res) => res.json())
.then(({ physical, logical }) => {

dandiSchema.properties.number_of_jobs.max = physical;
dandiSchema.properties.number_of_threads.max = logical / physical;
})
Expand Down

0 comments on commit 0d8ebaf

Please sign in to comment.