https://github.com/alleninstitute/np_session
Tools for accessing data, metadata, and jobs related to ecephys and behavior sessions for the Mindscope Neuropixels team.
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
2 of 3 committers (66.7%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.5%) to scientific vocabulary
Repository
Tools for accessing data, metadata, and jobs related to ecephys and behavior sessions for the Mindscope Neuropixels team.
Basic Info
Statistics
- Stars: 1
- Watchers: 7
- Forks: 1
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
np_session
For use on internal Allen Institute network
A lightweight package for handling file paths and metadata associated with Mindscope Neuropixels experiments with data on local rig-connected machines or the /allen network. Provides an interface that can be used by other applications.
```python
from np_session import Session
initialize with a lims session ID or a string containing one:
session = Session('c:/1116941914surface-image1-left.png') session.lims.id 1116941914 session.folder '111694191457632320210721' session.isecephys True session.rig.acq # hostnames reflect the computers used during the session, not necessarily the current machines 'W10DT05515'
some properties are objects with richer information:
session.mouse Mouse(576323) session.project Project('NeuropixelVisualBehavior')
- pathlib objects for filesystem paths:
session.limspath.asposix() '//allen/programs/braintv/production/visualbehavior/prod0/specimen1098595957/ecephyssession1116941914' session.datadict['es_id'] '1116941914'
- datetime objects for easy date manipulation:
session.date datetime.date(2021, 7, 21)
- dictionaries from lims (loaded lazily):
session.mouse.lims LIMS2MouseInfo(576323) session.mouse.lims.id 1098595957 session.mouse.lims['full_genotype'] 'wt/wt'
with useful string representations:
str(session.mouse) '576323' str(session.project) 'NeuropixelVisualBehavior' str(session.rig) # from
np_configpackage 'NP.0'
```
Adding a new project
Add an enum with any project identifiers (e.g. lims project code) to
components.info.ProjectsCreate an entry for lims manifests (if applicable) in Zookeeper at
projects/np_session/manifests- the D1 manifest will need customizing (see other entries)
- the default D0 and D2 manifests will likely suffice: nothing needs to be done
Owner
- Name: Allen Institute
- Login: AllenInstitute
- Kind: organization
- Location: Seattle, WA
- Website: https://alleninstitute.org
- Repositories: 184
- Profile: https://github.com/AllenInstitute
Please visit http://alleninstitute.github.io/ for more information.
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| bjhardcastle | b****e@a****g | 196 |
| mochic808 | c****m@a****g | 12 |
| arjun.sridhar12345 | a****8@g****m | 5 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 5
- Total pull requests: 2
- Average time to close issues: 2 months
- Average time to close pull requests: 5 days
- Total issue authors: 2
- Total pull request authors: 2
- Average comments per issue: 0.2
- Average comments per pull request: 0.5
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- bjhardcastle (2)
- mochic (2)
Pull Request Authors
- mochic (2)
- arjunsridhar12345 (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 334 last-month
- Total dependent packages: 10
- Total dependent repositories: 1
- Total versions: 116
- Total maintainers: 1
pypi.org: np-session
Tools for accessing data, metadata, and jobs related to ecephys and behavior sessions for the Mindscope Neuropixels team.
- Documentation: https://np-session.readthedocs.io/
- License: MIT License
-
Latest release: 0.6.48
published almost 2 years ago
Rankings
Maintainers (1)
Dependencies
- JRubics/poetry-publish v1.15 composite
- actions/checkout v2 composite
- backports.cached-property *
- np_config >=0.4.17
- np_logging >=0.3.8
- psycopg2-binary ^2
- pydantic ^1.10.5
- python ^3.7
- redis ^4.5.1
- requests ^2
- typing-extensions >=4