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 Jun 4, 2024
1 parent 1a36ef6 commit 14ba221
Show file tree
Hide file tree
Showing 47 changed files with 472 additions and 431 deletions.
4 changes: 1 addition & 3 deletions generateInterfaceSchema.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ class CustomNWBConverter(NWBConverter):

sourceDataStoryPath = Path("stories/pages/SourceData.stories.js")

importCode = "\n".join(
map(lambda arr: f"import {arr[0]}Schema from '../{Path(*arr[1].parts[1:])}'", paths.items())
)
importCode = "\n".join(map(lambda arr: f"import {arr[0]}Schema from '../{Path(*arr[1].parts[1:])}'", paths.items()))
storyCode = "\n".join(
map(
lambda arr: f"""export const {arr[0]} = PageTemplate.bind({{}});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
2 changes: 1 addition & 1 deletion stories/inputs/interface_schemas/AudioInterface.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
2 changes: 1 addition & 1 deletion stories/inputs/interface_schemas/DeepLabCutInterface.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
2 changes: 1 addition & 1 deletion stories/inputs/interface_schemas/FicTracDataInterface.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
2 changes: 1 addition & 1 deletion stories/inputs/interface_schemas/MiniscopeConverter.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
2 changes: 1 addition & 1 deletion stories/inputs/interface_schemas/PhySortingInterface.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
2 changes: 1 addition & 1 deletion stories/inputs/interface_schemas/SLEAPInterface.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
2 changes: 1 addition & 1 deletion stories/inputs/interface_schemas/SbxImagingInterface.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
2 changes: 1 addition & 1 deletion stories/inputs/interface_schemas/TiffImagingInterface.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
2 changes: 1 addition & 1 deletion stories/inputs/interface_schemas/VideoInterface.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
}
Loading

0 comments on commit 14ba221

Please sign in to comment.