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 Sep 18, 2023
1 parent 8782e70 commit e79a7b3
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ export class GuidedMetadataPage extends ManagedPage {
form;

header = {
subtitle: 'Edit all metadata for this conversion at the session level'
}
subtitle: "Edit all metadata for this conversion at the session level",
};

footer = {
next: "Run Conversion Preview",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ export class GuidedPathExpansionPage extends Page {
}

header = {
subtitle: 'Automatic source data detection for multiple subjects / sessions'
}

subtitle: "Automatic source data detection for multiple subjects / sessions",
};

beforeSave = async () => {
const globalState = this.info.globalState;
Expand Down Expand Up @@ -183,7 +182,7 @@ export class GuidedPathExpansionPage extends Page {
pathExpansionInfoBox.style.margin = "10px 0px";

this.optional.innerHTML = "";
this.optional.style.marginTop = '15px'
this.optional.style.marginTop = "15px";
this.optional.append(pathExpansionInfoBox, form);

form.style.width = "100%";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export class GuidedSourceDataPage extends ManagedPage {
};

header = {
subtitle: 'Essential information about the source files for this conversion'
}
subtitle: "Essential information about the source files for this conversion",
};

footer = {
next: "Request Metadata Schema",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export class GuidedStructurePage extends Page {
}

header = {
subtitle: 'Required interfaces for this conversion'
}
subtitle: "Required interfaces for this conversion",
};

search = new Search({
showAllWhenEmpty: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export class GuidedUploadPage extends Page {
};

header = {
subtitle: "Settings to upload your conversion to the DANDI Archive"
}
subtitle: "Settings to upload your conversion to the DANDI Archive",
};

footer = {
next: "Upload Project",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class GuidedResultsPage extends Page {

const { dandiset_id } = this.info.globalState.upload?.info ?? {};

return html`<div style="padding: 10px 20px;">${new DandiResults({ id: dandiset_id, files: conversion })}</div>`
return html`<div style="padding: 10px 20px;">${new DandiResults({ id: dandiset_id, files: conversion })}</div>`;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ export class GuidedNewDatasetPage extends Page {
#nameNotification;

header = {
subtitle: 'Essential metadata for pipeline creation'
}
subtitle: "Essential metadata for pipeline creation",
};

footer = {
onNext: async () => {
Expand Down Expand Up @@ -93,13 +93,13 @@ export class GuidedNewDatasetPage extends Page {
info.title = `${info.label} Global Metadata`;
return info;
});
console.log(pages)
console.log(pages);

pages.forEach((page) => {
page.header = {
subtitle: `Uniform ${page.info.label} metadata across all sessions`
}
this.addPage(page.info.label, page)
subtitle: `Uniform ${page.info.label} metadata across all sessions`,
};
this.addPage(page.info.label, page);
});

this.form = new JSONSchemaForm({
Expand Down

0 comments on commit e79a7b3

Please sign in to comment.