diff --git a/docs/reference/easyviewer.md b/docs/reference/easyviewer.md index d5728fc..34e722b 100644 --- a/docs/reference/easyviewer.md +++ b/docs/reference/easyviewer.md @@ -1,5 +1,5 @@ --- -title: EasyViewer +title: easyviewer --- ::: src.nglui.easyviewer.ev_base.base @@ -16,4 +16,4 @@ title: EasyViewer ::: src.nglui.easyviewer.ev_base.seunglab options: show_source: false - heading_level: 2 \ No newline at end of file + heading_level: 2 diff --git a/docs/reference/parser.md b/docs/reference/parser.md index 81a99b4..ec33d06 100644 --- a/docs/reference/parser.md +++ b/docs/reference/parser.md @@ -1,5 +1,5 @@ --- -title: State Parser +title: parser --- ::: src.nglui.parser diff --git a/docs/reference/segmentprops.md b/docs/reference/segmentprops.md index fc56920..430350b 100644 --- a/docs/reference/segmentprops.md +++ b/docs/reference/segmentprops.md @@ -1,5 +1,5 @@ --- -title: Segment Properties +title: segmentprops --- !!! note diff --git a/docs/reference/statebuilder.md b/docs/reference/statebuilder.md index 1e5fcc3..3e07c23 100644 --- a/docs/reference/statebuilder.md +++ b/docs/reference/statebuilder.md @@ -1,5 +1,5 @@ --- -title: Statebuilder +title: statebuilder --- ::: src.nglui.statebuilder.statebuilder @@ -17,7 +17,9 @@ title: Statebuilder show_source: false heading_level: 2 +## `.helpers` + ::: src.nglui.statebuilder.helpers options: show_source: false - heading_level: 2 \ No newline at end of file + heading_level: 3 \ No newline at end of file diff --git a/src/nglui/statebuilder/helpers.py b/src/nglui/statebuilder/helpers.py index 24b26e2..2f72606 100644 --- a/src/nglui/statebuilder/helpers.py +++ b/src/nglui/statebuilder/helpers.py @@ -442,8 +442,6 @@ def package_state( """Automate creating a state from a statebuilder and a dataframe, return it in the desired format, shortening if desired. - # Convert below to numpydoc - Parameters ---------- df : pandas.DataFrame @@ -773,17 +771,16 @@ def make_neuron_neuroglancer_link( dataframe_resolution_post=data_resolution_post, split_positions=True, ) - return sb, dataframes - # return package_state( - # dataframes, - # sb, - # client, - # shorten, - # return_as, - # ngl_url, - # link_text, - # target_site=target_site, - # ) + return package_state( + dataframes, + sb, + client, + shorten, + return_as, + ngl_url, + link_text, + target_site=target_site, + ) def from_client(