-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
- Loading branch information
1 parent
92f10d5
commit 152656a
Showing
4 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
from hdmf.utils import docval, popargs | ||
|
||
from pynwb import get_class | ||
|
||
MicroscopyTable = get_class("MicroscopyTable", "ndx-microscopy") | ||
|
||
|
||
@docval( | ||
{'name': 'region', 'type': list, 'doc': 'the indices of the MicroscopyTable'}, | ||
{'name': 'description', 'type': str, 'doc': 'a brief description of what these table entries represent'}, | ||
{"name": "region", "type": list, "doc": "the indices of the MicroscopyTable"}, | ||
{"name": "description", "type": str, "doc": "a brief description of what these table entries represent"}, | ||
) | ||
def create_microscopy_table_region(self, **kwargs): | ||
region, description = popargs('region', 'description', kwargs) | ||
name = 'microscopy_table_region' | ||
region, description = popargs("region", "description", kwargs) | ||
name = "microscopy_table_region" | ||
return super(MicroscopyTable, self).create_region(name=name, region=region, description=description) | ||
|
||
MicroscopyTable.create_microscopy_table_region = create_microscopy_table_region | ||
|
||
MicroscopyTable.create_microscopy_table_region = create_microscopy_table_region |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters