docssdk-unit-storage
Last edit August 05, 2024

Manage Unit Storage in dxflow SDK

How to manage unit storage

To view the list of contents on the unit storage associated with a specific compute unit, use the following code:

bash
import dxflow

dxs = dxflow.Session() ## it will use the credential stored in ~/.diphyx/config.yaml

compute_manager = dxs.get_compute_manager()
name = compute_manager.get_unit(name='Demo') ## or use ip

name.storage.ls()
bash
Contents of /:

Amber_MD
GROMACS
automated-lysozyme-water-forcefields-GROMACS-master.zip
ex1.fa
ex1.sam.gz
fastqc
run_script.sh
samtools