Skip to content

Commit ceb41c9

Browse files
committed
Update stack model to include more precise metadata field help text
1 parent a190cda commit ceb41c9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
from django.db import migrations, models
2+
import django.db.models.deletion
3+
4+
5+
class Migration(migrations.Migration):
6+
7+
dependencies = [
8+
("catmaid", "0122_add_painting_tool_setting"),
9+
]
10+
11+
operations = [
12+
migrations.AlterField(
13+
model_name="stack",
14+
name="metadata",
15+
field=models.JSONField(
16+
blank=True,
17+
help_text='Optional JSON for a stack. Supported is the boolean field "clamp" which can be set "to "false" to disable tile access clamping as well as the 3-tuple "voxelOffset", which can be used to offset the voxels space of the stack by the respective vector. Some mirror types support reading custom configuration information from this field. For instance the cloud-volume tile source can cache the \'info\' file of a Neuroglancer Precopmuted info file in the \'ngpreInfo\' metadata field.',
18+
null=True,
19+
),
20+
)
21+
]

0 commit comments

Comments
 (0)