Config Schema¶
The config file controls the packing behavior. It specifies parameters such as packing algorithms, output formats, performance settings, and debugging options that don’t affect the biological content but control how the simulation is executed.
Field Path |
Type |
Description |
Default Value |
Notes |
---|---|---|---|---|
|
boolean |
Clear cached grid before packing |
False |
|
|
string |
Output format |
simularium |
|
|
string |
Method used to create the inner grid |
trimesh |
e.g., |
|
boolean |
Enable real-time packing visualization |
False |
Not implemented currently |
|
boolean |
Load objects from a grid file |
False |
|
|
string |
Name of the config |
default |
Used to identify this config run |
|
number (>=1) |
Number of independent packing replicates |
1 |
|
|
boolean |
Open results in browser after run |
True |
|
|
boolean |
Use deterministic packing order |
False |
|
|
string |
Output directory path |
|
|
|
boolean |
Override object-specific place methods |
False |
|
|
boolean |
Enable parallel packing |
False |
|
|
string |
Default packing method |
spheresSST |
e.g., |
|
number |
Random seed value |
None |
Helps reproduce packing runs |
|
boolean |
Save packing analysis result |
False |
Saves additional data and figures from packing. |
|
boolean |
Export converted recipe |
False |
Save recipe converted from older to newer versions. |
|
boolean |
Save gradient values as image |
False |
|
|
boolean |
Save analysis figures |
||
|
boolean |
Display grid visualization |
False |
|
|
boolean |
Show progress bar in terminal |
False |
|
|
boolean |
Visualize sphere trees |
False |
|
|
number |
Override object spacing |
None |
|
|
boolean |
Upload results to S3 |
True |
|
|
boolean |
Enable periodic boundary conditions |
False |
|
|
number |
Config version number |
1.0 |
For internal tracking |
|
boolean |
Export hollow images |
False |
|
|
string |
Camera position for projection axis |
|
e.g., |
|
array |
Voxel size for image export |
|
Example:
{
"name": "example",
"out": "path/to/output/folder",
"save_analyze_result": true,
"show_progress_bar": true,
"save_plot_figures": false,
"load_from_grid_file": true,
"spacing": 2,
"image_export_options": {
"hollow": false,
"voxel_size": [
1,
1,
1
],
"projection_axis": "z"
},
"open_results_in_browser": false,
"upload_results": false
}