Skip to main content

Tools for uploading and interacting with Mindscope Neuropixels experiments on Code Ocean

Project description

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.

Install

For Dynamic Routing:

uv sync --extra dynamicrouting

For OpenScope:

uv sync --extra openscope

Add dependencies

For shared utilities:

uv add <package-name>

For Dynamic Routing or OpenScope specific utilities:

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

np_codeocean-0.3.7.tar.gz (38.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

np_codeocean-0.3.7-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

Details for the file np_codeocean-0.3.7.tar.gz.

File metadata

  • Download URL: np_codeocean-0.3.7.tar.gz
  • Upload date:
  • Size: 38.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.29 {"installer":{"name":"uv","version":"0.9.29","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}

File hashes

Hashes for np_codeocean-0.3.7.tar.gz
Algorithm Hash digest
SHA256 3c7aaa29bf031e4fecafc0560e1abda7cb32059303f6423ec63200de3f6ac2fd
MD5 803e84b8d5a190e47428184f45988a71
BLAKE2b-256 be1bc17f9b19ff91a1c05d838e4b91560b4a19d494dea14d6a4f06ad6a23aef4

See more details on using hashes here.

File details

Details for the file np_codeocean-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: np_codeocean-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 44.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.29 {"installer":{"name":"uv","version":"0.9.29","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}

File hashes

Hashes for np_codeocean-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 89c4303e1462398d105ec5b505d7c1f638c5283b40f292134af021431a2964a5
MD5 0bde26ae3df1ed362d01275f0e3ebb76
BLAKE2b-256 8146316bf78e7114ec0f9cf0f180f27a7db0961a851e4a668094750cf35b6e73

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page