Skip to main content

np_codeocean

Tools for uploading Mindscope Neuropixels experiments to S3 (for Code Ocean).

Requires running as admin on Windows in order to create remote-to-remote symlinks on the Isilon.

Development workflow

  • clone the repo, or pull with rebase
  • sync the development environment using uv (see below)
  • push changes to main (always commit changes to uv.lock)
  • github action formats and publishes a new version
  • pull the bump commit

Install

Setup/sync the development environment for working on a specific project:

uv sync --extra <dynamicrouting|openscope>

This ensures all developers are using the same package versions.

Add dependencies

For shared utilities:

uv add <package-name>

For project-specific utilities (added to optional dependency groups):

uv add <package-name> --optional <dynamicrouting|openscope>

Update dependencies

All:

uv lock --upgrade

Single package:

uv lock --upgrade-package  <package-name>

Usage

  • upload CLI tool is provided, which uses the np_session interface to find and upload raw data for one ecephys session:

    pip install np_codeocean
    upload <session-id>
    

    where session-id is any valid input to np_session.Session(), e.g.:

    • a lims ID (1333741475)
    • a workgroups foldername (DRPilot_366122_20230101)
    • a path to a session folder ( \\allen\programs\mindscope\workgroups\np-exp\1333741475_719667_20240227)
  • a folder of symlinks pointing to the raw data is created, with a new structure suitable for the KS2.5 sorting pipeline on Code Ocean

  • the symlink folder, plus metadata, are entered into a csv file, which is submitted to http://aind-data-transfer-service, which in turn runs the aind-data-transfer tool on the HPC, which follows the symlinks to the original data, median-subtracts/scales/compresses ephys data, then uploads with the AWS CLI tool

  • all compression/zipping acts on copies in temporary folders: the original raw data is not altered in anyway

Metadata

Release files for np_codeocean 0.3.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for np_codeocean 0.3.14
File Size Uploaded Provenance Actions
np_codeocean-0.3.14.tar.gz 24.2 kB Without provenance Details for np_codeocean-0.3.14.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for np_codeocean 0.3.14
File Interpreter ABI Platform Actions
np_codeocean-0.3.14-py3-none-any.whl Python 3 none any Details for np_codeocean-0.3.14-py3-none-any.whl

Total release size: 49.4 kB

Release files / np_codeocean-0.3.14.tar.gz

Download URL np_codeocean-0.3.14.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2ac51001d0cc0852c92b1ddeb4ed531e63c9556e6363af6c33fc0baad7e66f0d
BLAKE2b-256 checksum
How to use checksums
2fc1cbc50b52f31658218fd016c27916afbd66196693715fd1f0a4e2c918833c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / np_codeocean-0.3.14-py3-none-any.whl

Download URL np_codeocean-0.3.14-py3-none-any.whl
Size 25.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c68e1a0128df98a395e29767609539479f1625e39dd9df2484fe85fa4771c21
BLAKE2b-256 checksum
How to use checksums
b3859dbf97898b5924b6b8d2f3a9f1688432fa1b0649c64f5a2586a08a6a3bc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for np_codeocean 0.3.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page