Release Notes 2.12 (May 2023)

Code Ocean Apps

Code Ocean Apps is a new dashboard where you can find ready-to-use applications created by the Code Ocean Science Team. They can be used as is, but are fully customizable. The Science Team will be regularly updating and adding to the library shown below.

Capsule App Panel Updates

Set Default Data Asset

As an App Panel creator, you have the ability to select and add default data to the Capsule App Panel. Once attached, you are able to add a description for the parameter.

Replace Data Asset

As an App Panel user, you can replace default data with a data asset of your choice without editing the capsule. Click Replace Data next to the data parameter field and select any data asset that you have access to.

Bulk Delete Uploaded Files

You can bulk delete files that you have uploaded during an App Panel Run

No-Code Apps Filter Added to Internal Releases Page

Easily view and access your No-Code Apps from the Internal Releases page with the No-Code Apps filter.

Streamlit Cloud Workstation

Interactive web applications can be created in Python via the Streamlit Cloud Workstation.

  • By creating a file called streamlit_app.py and using conventions of the Streamlit language, you can automatically run apps by clicking on the Streamlit in the Cloud Workstation launch section.

Pipelines Improvements

Layers Toggle

You can see helpful pipeline configuration details with one click. The "Eye" Toggle will allow you to see the following throughout the Pipeline:

  • Connection types

  • CPUs

  • GPUs

  • Memory

  • Data Type: Internal, External, Result

  • Capsule Type: Release, Code Ocean Apps

Use Code Ocean Apps Capsules

Pre-built capsules can be leveraged from the new Code Ocean Apps Library in Pipelines by dragging and dropping them in the Pipeline Builder UI.

Export

Pipelines can be exported from the main Pipeline menu.

  • Exporting the pipeline automatically creates nextflow.config and REPRODUCING.md files which contain all the configurations and instructions required to run the pipeline on your local machine.

Code Ocean Public API

Update User Permissions

A new API endpoint has been added to allow capsule-sharing permissions to be programmatically updated in bulk. Example:

curl -X POST \
'https://acmecorp-edge.codeocean.com/api/v1/capsules/<capsule_id>/permissions' \
-u $API_KEY: -H 'Content-Type: application/json' \
--data-raw '{
	"users": [ {"email": "<email>", "role": "owner"} ] ,
	"groups": [ {"group": "ad-group", "role": "editor"} ] ,
	"everyone": "viewer"
}'

Update Data Asset Permissions - Extended

  • Accepted values for the “everyone” field have been changed from true and false to viewer and none

  • Setting the “everyone” field to none can be used to un-share the asset with everyone

  • Note: Any code using the previous values for the "everyone" field will need to be updated

Create Internal Data Asset From Single File in S3

A single file can now be specified in Path when creating an internal Data Asset by importing from S3. You are no longer required to import an entire folder.

Note: This does not apply to creating an external data asset by linking to an S3 bucket.

Capsule Secrets Enhancement

Add Secret to Capsule is now a drop-down list allowing users to filter by Secret type.

Recommended Base Images have been updated to accommodate a wider variety of use cases and improve package installation performance. The following are the new recommended images:

  1. Python: An image using Mamba to improve package installation performance over Conda

  2. Python and R: An updated version of an image containing both Python and R

  3. Tensorflow (Python 3): A GPU-supported Python image with CUDA and Tensorflow

Improved Copy Speed

Copy speed while capturing results between the result bucket and the dataset bucket has been significantly improved.

Last updated