Skip to content

Commit

Permalink
Merge pull request #132 from kushalbakshi/main
Browse files Browse the repository at this point in the history
Fix docs tutorials in dark mode
  • Loading branch information
kabilar authored Apr 28, 2023
2 parents 97d1106 + 49013dc commit 66e5944
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.

## [0.5.6] - 2023-04-28

+ Fix - `.ipynb` output in tutorials is not visible in dark mode.
+ Fix - typos in docstrings.

## [0.5.5] - 2023-04-06

+ Update - Bump `element-interface` requirement to `0.5.1`.
Expand Down Expand Up @@ -88,6 +93,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
+ Add - `scan` and `imaging` modules
+ Add - Readers for `ScanImage`, `ScanBox`, `Suite2p`, `CaImAn`

[0.5.6]: https://github.com/datajoint/element-calcium-imaging/releases/tag/0.5.6
[0.5.5]: https://github.com/datajoint/element-calcium-imaging/releases/tag/0.5.5
[0.5.4]: https://github.com/datajoint/element-calcium-imaging/releases/tag/0.5.4
[0.5.3]: https://github.com/datajoint/element-calcium-imaging/releases/tag/0.5.3
Expand Down
4 changes: 4 additions & 0 deletions docs/src/.overrides/assets/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,7 @@ html a[title="YouTube"].md-social__link svg {
/* previous/next text */
/* --md-footer-fg-color: var(--dj-white); */
}

[data-md-color-scheme="slate"] .jupyter-wrapper .Table Td {
color: var(--dj-black)
}
2 changes: 1 addition & 1 deletion docs/src/tutorials/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ analysis.
## Notebooks

Each of the notebooks in the workflow
([download here](https://github.com/datajoint/workflow-calcium-imaging/tree/main/notebooks)
([download here](https://github.com/datajoint/workflow-calcium-imaging/tree/main/notebooks))
steps through ways to interact with the Element itself. For convenience, these notebooks
are also rendered as part of this site. To try out the notebooks in an online
Jupyter environment with access to example data, visit
Expand Down
2 changes: 1 addition & 1 deletion element_calcium_imaging/imaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class MaskType(dj.Lookup):
"""Available labels for segmented masks (e.g. 'soma', 'axon', 'dendrite', 'neuropil').
Attributes:
masky_type (str): Mask type.
mask_type (str): Mask type.
"""

definition = """# Possible types of a segmented mask
Expand Down
6 changes: 3 additions & 3 deletions element_calcium_imaging/imaging_no_curation.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class MaskType(dj.Lookup):
"""Available labels for segmented masks (e.g. 'soma', 'axon', 'dendrite', 'neuropil').
Attributes:
masky_type (str): Mask type.
mask_type (str): Mask type.
"""

definition = """# Possible types of a segmented mask
Expand All @@ -221,8 +221,8 @@ class ProcessingTask(dj.Manual):
This table defines a calcium imaging processing task for a combination of a
`Scan` and a `ProcessingParamSet` entries, including all the inputs (scan, method,
method's parameters). The task defined here is then run in the downstream table
Processing. This table supports definitions of both loading of pre-generated results
and the triggering of new analysis for all supported analysis methods
`Processing`. This table supports definitions of both loading of pre-generated results
and the triggering of new analysis for all supported analysis methods.
Attributes:
scan.Scan (foreign key):
Expand Down
2 changes: 1 addition & 1 deletion element_calcium_imaging/imaging_preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ class MaskType(dj.Lookup):
"""Available labels for segmented masks (e.g. 'soma', 'axon', 'dendrite', 'neuropil').
Attributes:
masky_type (str): Mask type.
mask_type (str): Mask type.
"""

definition = """# Possible types of a segmented mask
Expand Down
2 changes: 1 addition & 1 deletion element_calcium_imaging/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Package metadata."""
__version__ = "0.5.5"
__version__ = "0.5.6"

0 comments on commit 66e5944

Please sign in to comment.