Skip to content

Commit

Permalink
Added dynamic configuration of database views.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Orban committed Aug 7, 2018
1 parent b10b4b6 commit 9c0bd91
Show file tree
Hide file tree
Showing 2 changed files with 181 additions and 157 deletions.
71 changes: 29 additions & 42 deletions databases.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,10 @@
[
{
"name": "Sphere0",
"directory": "examples/sphere_multi-image.cdb",
"info": [
{
"name": "visar",
"type": "line",
"data":
[
{
"column": "FILE_visar1",
"xcol": null,
"ycol": 0,
"delimiter": null
},
{
"column": "FILE_visar2",
"xcol": null,
"ycol": 1,
"delimiter": null
}
]
}
]
},
{
"name": "Sphere",
"directory": "examples/sphere_multi-image.cdb",
"info": [
{
"name": "Visar",
"name": "Curve 1",
"type": "line",
"data":
[
Expand All @@ -48,7 +23,7 @@
]
},
{
"name": "Diffraction Image",
"name": "Sphere Image",
"type": "image",
"data":
[
Expand All @@ -57,7 +32,7 @@
]
},
{
"name": "Diffraction Graph",
"name": "Curve 2",
"type": "line",
"data":
[
Expand All @@ -66,23 +41,17 @@
"xcol": null,
"ycol": 0,
"delimiter": null
},
{
"column": "FILE_diffraction2",
"xcol": null,
"ycol": 1,
"delimiter": null
}
]
}
]
},
{
"name": "Sphere2",
"name": "Single Curve",
"directory": "examples/sphere_multi-image.cdb",
"info": [
{
"name": "Visar",
"name": "Curve",
"type": "line",
"data":
[
Expand All @@ -91,15 +60,33 @@
"xcol": null,
"ycol": 0,
"delimiter": null
},
{
"column": "FILE_visar2",
"xcol": null,
"ycol": 1,
"delimiter": null
}
]
}
]
},
{
"name": "Sphere Images",
"directory": "examples/sphere_multi-image.cdb",
"info": [
{
"name": "Dynamic and Static",
"type": "image",
"data":
[
"FILE_diffraction_image1",
"FILE_diffraction_image2"
]
},
{
"name": "Both Dynamic",
"type": "image",
"data":
[
"FILE_diffraction_image1",
"FILE_diffraction_image1"
]
}
]
}
]
Loading

0 comments on commit 9c0bd91

Please sign in to comment.