paths.py
get_volume_root_data_dir()
¶
Return root directory for volumetric data in dj.config
Returns:
| Name | Type | Description |
|---|---|---|
path |
any
|
List of path(s) if available or None |
Source code in workflow_zstack/paths.py
9 10 11 12 13 14 15 16 17 18 19 20 21 | |
get_volume_tif_file(scan_key)
¶
Retrieve the ScanImage file associated with a given Scan.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
scan_key |
dict
|
Primary key from Scan. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
path |
str
|
Absolute path of the scan file. |
Raises:
| Type | Description |
|---|---|
FileNotFoundError
|
If the tiff file(s) are not found. |
Source code in workflow_zstack/paths.py
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | |