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 Apr 10, 2024
1 parent 3c2e48c commit 851138d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion schemas/base-metadata.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export const preprocessMetadataSchema = (schema: any = baseMetadataSchema, globa

ecephys.properties["Units"].title = "Summarized Units"


updateEcephysTable("Units", copy, {
properties: {
clu_id: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,6 @@ export class GuidedPathExpansionPage extends Page {

const globalBaseDirectory = this.workflow.base_directory.value;


const finalStructure = {};
for (let key in structure) {
const entry = { ...structure[key] };
Expand All @@ -341,12 +340,11 @@ export class GuidedPathExpansionPage extends Page {
else entry.folder_path = fstring;
delete entry.format_string_path;

if (!entry.base_directory && globalBaseDirectory) entry.base_directory = globalBaseDirectory
if (!entry.base_directory && globalBaseDirectory) entry.base_directory = globalBaseDirectory;

finalStructure[key] = entry;
}


if (Object.keys(finalStructure).length === 0) {
const message =
"Please configure at least one interface. <br/><small>Otherwise, revisit <b>Pipeline Workflow</b> to update your configuration.</small>";
Expand Down

0 comments on commit 851138d

Please sign in to comment.