Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync: debug with debug-sync-f09f #1228

Merged
merged 67 commits into from
Nov 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
1026480
Merge pull request #785 from VirtualFlyBrain/development
Robbie1977 Nov 19, 2020
28778f8
Merge pull request #790 from VirtualFlyBrain/alpha-sync-f89b
Robbie1977 Nov 19, 2020
79cb3f0
Merge pull request #796 from VirtualFlyBrain/alpha-sync-7314
Robbie1977 Nov 19, 2020
f7bb60f
Merge pull request #803 from VirtualFlyBrain/alpha-sync-10a6
Robbie1977 Nov 20, 2020
294f122
Merge pull request #809 from VirtualFlyBrain/alpha-sync-1b2e
Robbie1977 Nov 24, 2020
048f49a
Merge pull request #819 from VirtualFlyBrain/alpha-sync-2453
Robbie1977 Dec 1, 2020
a5a5bf0
Merge pull request #843 from VirtualFlyBrain/alpha-sync-7e2e
Robbie1977 Dec 18, 2020
8df87d2
Merge pull request #850 from VirtualFlyBrain/alpha-sync-39f5
Robbie1977 Dec 18, 2020
edf8b58
Merge pull request #856 from VirtualFlyBrain/alpha-sync-42d7
Robbie1977 Dec 22, 2020
af94877
Merge pull request #862 from VirtualFlyBrain/alpha-sync-3068
Robbie1977 Dec 26, 2020
bdb2804
Merge pull request #868 from VirtualFlyBrain/alpha-sync-8302
Robbie1977 Jan 1, 2021
6979c51
Merge pull request #940 from VirtualFlyBrain/alpha-sync-49ed
Robbie1977 Jan 4, 2021
7c11f6e
Merge pull request #957 from VirtualFlyBrain/alpha-sync-a239
Robbie1977 Jan 7, 2021
c0f56ee
Merge pull request #963 from VirtualFlyBrain/alpha-sync-6863
Robbie1977 Jan 7, 2021
a9e3389
Merge pull request #975 from VirtualFlyBrain/alpha-sync-e09a
Robbie1977 Jan 14, 2021
437269b
Merge pull request #991 from VirtualFlyBrain/alpha-sync-55cc
Robbie1977 Feb 7, 2021
e66f622
Merge pull request #997 from VirtualFlyBrain/alpha-sync-2355
Robbie1977 Feb 7, 2021
666cbe4
Merge pull request #1011 from VirtualFlyBrain/alpha-sync-ec0d
Robbie1977 Feb 19, 2021
112de77
Merge pull request #1020 from VirtualFlyBrain/alpha-sync-635b
Robbie1977 Feb 26, 2021
26fb764
Merge pull request #1026 from VirtualFlyBrain/alpha-sync-1c46
Robbie1977 Mar 2, 2021
dc10470
Merge pull request #1034 from VirtualFlyBrain/alpha-sync-c0ac
Robbie1977 Mar 2, 2021
32a1ef5
Merge pull request #1040 from VirtualFlyBrain/alpha-sync-163e
Robbie1977 Mar 7, 2021
ba002f3
Merge pull request #1046 from VirtualFlyBrain/alpha-sync-611e
Robbie1977 Mar 7, 2021
92458f8
Merge pull request #1052 from VirtualFlyBrain/alpha-sync-ad81
Robbie1977 Mar 19, 2021
7e65ead
Merge pull request #1058 from VirtualFlyBrain/alpha-sync-be8b
Robbie1977 Mar 20, 2021
d5721b1
Merge pull request #1103 from VirtualFlyBrain/alpha-sync-0862
Robbie1977 Apr 12, 2021
c51dd2d
Merge pull request #1128 from VirtualFlyBrain/alpha-sync-00f2
Robbie1977 Jun 22, 2021
e40ed38
Merge pull request #1147 from VirtualFlyBrain/alpha-sync-1e8d
Robbie1977 Jun 22, 2021
dbe5207
Merge pull request #1154 from VirtualFlyBrain/alpha-sync-5c32
Robbie1977 Jul 12, 2021
343733e
Merge pull request #1187 from VirtualFlyBrain/alpha-sync-da98
Robbie1977 Oct 1, 2021
c000bfb
including DataSets and pubs
Robbie1977 Oct 3, 2021
86730b9
adding new catmaid and moving from pipy to help
Robbie1977 Oct 11, 2021
c244430
typo fix
Robbie1977 Oct 11, 2021
5deb2fd
updating catmaid urls
Robbie1977 Oct 11, 2021
8618eb0
l3 url fixed
Robbie1977 Oct 11, 2021
c461355
fixing abd1.5 url
Robbie1977 Oct 11, 2021
24a6ea6
collapsing catmaid
Robbie1977 Oct 11, 2021
cbcf1a4
splitting out VFB connect docs
Robbie1977 Oct 12, 2021
efb7959
fixing icon for term context
Robbie1977 Oct 12, 2021
045246b
typo fix
Robbie1977 Oct 12, 2021
0ee6687
adding help for new tools
Robbie1977 Oct 12, 2021
148f509
Merge branch 'alpha' of https://github.com/VirtualFlyBrain/geppetto-v…
Robbie1977 Oct 12, 2021
7d9a6df
swapping icon
Robbie1977 Oct 12, 2021
e0bb630
made thinner
Robbie1977 Oct 13, 2021
2df8b88
Alex's suggested edits
Robbie1977 Oct 13, 2021
740b91c
updating test value
Robbie1977 Oct 13, 2021
d455946
saving diff on fails
Robbie1977 Oct 13, 2021
2e2d290
testing on fail
Robbie1977 Oct 13, 2021
0b491e0
testing failure
Robbie1977 Oct 13, 2021
81e62cf
removing old snapshot
Robbie1977 Oct 13, 2021
988b8a0
Merge branch 'alpha' of https://github.com/VirtualFlyBrain/geppetto-v…
Robbie1977 Oct 13, 2021
077da36
update snapshot
Robbie1977 Oct 13, 2021
f2ba039
collecting snapshot
Robbie1977 Oct 13, 2021
31577d5
generated snapshot
Robbie1977 Oct 13, 2021
ef914b9
Revert "collecting snapshot"
Robbie1977 Oct 13, 2021
c98acd7
Revert "update snapshot"
Robbie1977 Oct 13, 2021
3df00b4
Merge pull request #1196 from VirtualFlyBrain/alpha
Robbie1977 Oct 14, 2021
b550ff1
Delete .Rhistory
Robbie1977 Oct 14, 2021
04aff53
Update README.md
Robbie1977 Oct 14, 2021
bab8b46
hiding NBAST uploader for release
Robbie1977 Oct 14, 2021
73d9240
Revert "Revert "collecting snapshot""
Robbie1977 Oct 14, 2021
11207ee
Revert "Revert "update snapshot""
Robbie1977 Oct 14, 2021
4f7ea8e
Revert "generated snapshot"
Robbie1977 Oct 14, 2021
fa52653
Revert "Revert "Revert "collecting snapshot"""
Robbie1977 Oct 14, 2021
f58c913
Revert "Revert "Revert "update snapshot"""
Robbie1977 Oct 14, 2021
208e572
Snapshot for live pdb
Robbie1977 Oct 14, 2021
801af64
fix for releases
Robbie1977 Oct 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
# Decide based on branch which servers to use
- name: Pass branch
id: branch
run: echo "::set-output name=value::${GITHUB_REF#refs/heads/}";
echo "::set-output name=clean::$(echo ${GITHUB_REF#refs/heads/} | sed 's@[/\\]@-@g')";
run: echo "::set-output name=value::$(echo ${GITHUB_REF} | sed 's@refs/heads/@@g' | sed 's@refs/tags/@@g' )";
echo "::set-output name=clean::$(echo ${GITHUB_REF} | sed 's@refs/heads/@@g' | sed 's@refs/tags/@@g' | sed 's@[/\\]@-@g')";
- name: Setup local servers
id: local-servers
shell: bash
Expand Down Expand Up @@ -191,3 +191,11 @@ jobs:
fi
- name: Stop VFB server
run: docker stop testServer
- uses: actions/upload-artifact@v2
if: ${{ failure() }}
with:
name: test_fails
path: |
tests/jest/vfb/snapshots/*/*/__diff_output__/*.png
tests/jest/vfb/snapshots/*/*/*.png
retention-days: 5
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://github.com/VirtualFlyBrain/geppetto-vfb/workflows/CI/badge.svg)](https://github.com/Robbie1977/geppetto-vfb/actions?query=workflow%3ACI)[![Docker Hub](https://www.shippable.com/assets/images/logos/docker-hub.jpg)](https://hub.docker.com/r/virtualflybrain/geppetto-vfb/)
[![Build Status](https://github.com/VirtualFlyBrain/geppetto-vfb/workflows/CI/badge.svg)](https://github.com/Robbie1977/geppetto-vfb/actions?query=workflow%3ACI)[![Docker Hub](https://d1q6f0aelx0por.cloudfront.net/product-logos/644d2f15-c5db-4731-a353-ace6235841fa-registry.png)](https://hub.docker.com/r/virtualflybrain/geppetto-vfb/)

# geppetto-vfb
Virtual Fly Brain project customised Geppetto build
Expand Down
Empty file added actions/.Rhistory
Empty file.
2 changes: 1 addition & 1 deletion components/configuration/VFBMain/searchConfiguration.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var datasourceConfiguration = {
"start": "0",
"pf":"true",
"fq": [
"shortform_autosuggest:VFB* OR shortform_autosuggest:FB*"
"shortform_autosuggest:VFB* OR shortform_autosuggest:FB* OR facets_annotation:DataSet OR facets_annotation:pub"
],
"rows": "100",
"wt": "json",
Expand Down
38 changes: 38 additions & 0 deletions components/configuration/VFBOverview/quickHelp.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,43 @@
"icon" : "fa fa-quora",
"label" : "Run term related queries"
}]
},{
"title": "This is the Term Context tab",
"image" : "geppetto/build/term-context.png",
"instructions": [{
"icon" : "",
"label" : "Term Context displays grapical information on the currently selected term's location or classification"
},{
"icon" : "fa fa-home",
"label" : "Home resets your view"
},{
"icon" : "fa fa-search-plus",
"label" : "Use the zoom icons or scroll with the mouse to zoom in/out"
},{
"icon" : "fa fa-refresh",
"label" : "Click to refresh to the current focus term"
},{
"icon" : "fa fa-bars",
"label" : "Select either the location or the classification for the current term"
}]
},{
"title": "This is the Circuit Browser tab",
"image" : "geppetto/build/circuit1.png",
"instructions": [{
"icon" : "",
"label" : "The Circuit Browser allows you to find the strongest paths from one neuron (the source neuron) to another (the target neuron). The 'strongest' paths are the shortest/highest weighted paths. Paths are arranged from the 'strongest' at the bottom to the 'weakest' at the top. A detailed explanation for the algorithm used to determine path strengths can be found under help."
},{
"icon" : "fa fa-dot-circle-o",
"label" : "Search for the source neuron to start from (Note: query is directional)"
},{
"icon" : "fa fa-map-marker",
"label" : "Search for the target neuron"
},{
"icon" : "fa fa-arrows-h",
"label" : "Maximum number of paths to return (only the 'strongest' paths will be returned)"
},{
"icon" : "fa fa-balance-scale",
"label" : "A minimum weight for the synapse count of each connection can be applied, paths containing individual connections below this minimum will not be returned"
}]
}]
}
157 changes: 130 additions & 27 deletions components/configuration/VFBToolbar/vfbtoolbarMenuConfiguration.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,28 +239,20 @@ var toolbarMenu = {
},
{
label: "Term Context",
icon: "fas fa-project-diagram",
icon: "fa fa-sitemap",
action: {
handlerAction: "UIElementHandler",
parameters: ["graphVisible"]
}
},
{
label: "Circuit Browser",
icon: "fa fa-cogs",
icon: "fa fa-connectdevelop",
action: {
handlerAction: "UIElementHandler",
parameters: ["circuitBrowserVisible"]
}
},
{
label: "NBLAST Uploader",
icon: "fa fa-upload",
action: {
handlerAction: "uploaderContentsVisible",
parameters: []
}
},
{
label: "NBLAST",
icon: "",
Expand Down Expand Up @@ -321,22 +313,85 @@ var toolbarMenu = {
}
},
{
label: "Adult VNC (FANC)",
label: "Adult VNC",
icon: "",
trailerIcon: "fa fa-external-link",
position: "right-start",
action: {
handlerAction: "openNewTab",
parameters: ["https://fanc.catmaid.virtualflybrain.org/?pid=1&zp=55260&yp=512482.5999999994&xp=173092.19999999998&tool=tracingtool&sid0=1&s0=9&help=true&layout=h(XY,%20%7B%20type:%20%22neuron-search%22,%20id:%20%22neuron-search-1%22,%20options:%20%7B%22annotation-name%22:%20%22publication%22%7D%7D,%200.6)"]
}
handlerAction: "submenu",
parameters: ["undefinedAction"]
},
list: [
{
label: "Adult VNC (FANC)",
icon: "",
trailerIcon: "fa fa-external-link",
action: {
handlerAction: "openNewTab",
parameters: ["https://fanc.catmaid.virtualflybrain.org/?pid=1&zp=55260&yp=512482.5999999994&xp=173092.19999999998&tool=tracingtool&sid0=1&s0=9&help=true&layout=h(XY,%20%7B%20type:%20%22neuron-search%22,%20id:%20%22neuron-search-1%22,%20options:%20%7B%22annotation-name%22:%20%22publication%22%7D%7D,%200.6)"]
}
},
{
label: "Adult VNC (FANC) Aligned to JRC2018 VNC Female",
icon: "",
trailerIcon: "fa fa-external-link",
action: {
handlerAction: "openNewTab",
parameters: ["https://fanc.catmaid.virtualflybrain.org/?pid=2&zp=70800&yp=268000&xp=131600&tool=tracingtool&sid0=3&s0=1&help=true&layout=h(XY,%20%7B%20type:%20%22neuron-search%22,%20id:%20%22neuron-search-1%22,%20options:%20%7B%22annotation-name%22:%20%22publication%22%7D%7D,%200.6)"]
}
}
]
},
{
label: "Larval (L1EM)",
label: "Larval",
icon: "",
trailerIcon: "fa fa-external-link",
position: "right-start",
action: {
handlerAction: "openNewTab",
parameters: ["https://l1em.catmaid.virtualflybrain.org/?pid=1&zp=108250&yp=82961.59999999999&xp=54210.799999999996&tool=tracingtool&sid0=1&s0=2.4999999999999996&help=true&layout=h(XY,%20%7B%20type:%20%22neuron-search%22,%20id:%20%22neuron-search-1%22,%20options:%20%7B%22annotation-name%22:%20%22papers%22%7D%7D,%200.6)"]
}
handlerAction: "submenu",
parameters: ["undefinedAction"]
},
list: [
{
label: "Larval (L1EM)",
icon: "",
trailerIcon: "fa fa-external-link",
action: {
handlerAction: "openNewTab",
parameters: ["https://l1em.catmaid.virtualflybrain.org/?pid=1&zp=108250&yp=82961.59999999999&xp=54210.799999999996&tool=tracingtool&sid0=1&s0=2.4999999999999996&help=true&layout=h(XY,%20%7B%20type:%20%22neuron-search%22,%20id:%20%22neuron-search-1%22,%20options:%20%7B%22annotation-name%22:%20%22papers%22%7D%7D,%200.6)"]
}
},
{
label: "Larval (L3VNC)",
icon: "",
action: {
handlerAction: "openNewTab",
parameters: ["https://l3vnc.catmaid.virtualflybrain.org/?pid=2&zp=0&yp=53578.49999999999&xp=71242.5&tool=tracingtool&sid0=2&s0=6&help=true&layout=h(XY,%20%7B%20type:%20%22neuron-search%22,%20id:%20%22neuron-search-1%22,%20options:%20%7B%22annotation-name%22:%20%22papers%22%7D%7D,%200.6)"]
}
},
{
label: "Larval (ABD1.5)",
icon: "",
action: {
handlerAction: "openNewTab",
parameters: ["https://abd1.5.catmaid.virtualflybrain.org/?pid=1&zp=10485&yp=40560.65722061269&xp=42396.0789533435&tool=tracingtool&sid0=1&s0=4.5&help=true&layout=h(XY,%20%7B%20type:%20%22neuron-search%22,%20id:%20%22neuron-search-1%22,%20options:%20%7B%22annotation-name%22:%20%22papers%22%7D%7D,%200.6)"]
}
},
{
label: "Larval Mutant (IAV-Robo)",
icon: "",
action: {
handlerAction: "openNewTab",
parameters: ["https://iav-robo.catmaid.virtualflybrain.org/?pid=1&zp=18360&yp=25383.555362060197&xp=40676.497110038756&tool=tracingtool&sid0=1&s0=4&help=true&layout=h(XY,%20%7B%20type:%20%22neuron-search%22,%20id:%20%22neuron-search-1%22,%20options:%20%7B%22annotation-name%22:%20%22papers%22%7D%7D,%200.6)"]
}
},
{
label: "Larval Mutant (IAV-TNT)",
icon: "",
action: {
handlerAction: "openNewTab",
parameters: ["https://iav-tnt.catmaid.virtualflybrain.org/?pid=2&zp=0&yp=28633&xp=45094.6&sid0=2&s0=4&tool=tracingtool&help=true&layout=h(XY,%20%7B%20type:%20%22neuron-search%22,%20id:%20%22neuron-search-1%22,%20options:%20%7B%22annotation-name%22:%20%22papers%22%7D%7D,%200.6)"]
}
}
]
}
]
},
Expand Down Expand Up @@ -372,6 +427,38 @@ var toolbarMenu = {
handlerAction: "openNewTab",
parameters: ["https://l1em.catmaid.virtualflybrain.org/apis/"]
}
},
{
label: "Larval (L3VNC)",
icon: "",
action: {
handlerAction: "openNewTab",
parameters: ["https://l3vnc.catmaid.virtualflybrain.org/apis/"]
}
},
{
label: "Larval (ABD1.5)",
icon: "",
action: {
handlerAction: "openNewTab",
parameters: ["https://abd1.5.catmaid.virtualflybrain.org/apis/"]
}
},
{
label: "Larval Mutant (IAV-Robo)",
icon: "",
action: {
handlerAction: "openNewTab",
parameters: ["https://iav-robo.catmaid.virtualflybrain.org/apis/"]
}
},
{
label: "Larval Mutant (IAV-TNT)",
icon: "",
action: {
handlerAction: "openNewTab",
parameters: ["https://iav-tnt.catmaid.virtualflybrain.org/apis/"]
}
}
]
}
Expand All @@ -384,7 +471,16 @@ var toolbarMenu = {
position: "right-start",
list: [
{
label: "Python (PyPi)",
label: "VFB_connect: A library for querying VFB",
icon: "",
trailerIcon: "fa fa-external-link",
action: {
handlerAction: "openNewTab",
parameters: ["https://vfb-connect.readthedocs.io/"]
}
},
{
label: "Python (PiPy)",
icon: "",
trailerIcon: "fa fa-external-link",
action: {
Expand Down Expand Up @@ -657,25 +753,32 @@ var toolbarMenu = {
list: [
{
label: "F.A.Q.",
icon: "",
trailerIcon: "fa fa-external-link",
icon: "fa fa-comments-o",
action: {
handlerAction: "openNewTab",
parameters: ["https://groups.google.com/forum/embed/?place=forum/vfb-suport#!forum/vfb-suport"]
parameters: ["https://groups.google.com/g/vfb-suport"]
}
},
{
label: "Support Forum",
icon: "",
icon: "fa fa-medkit",
action: {
handlerAction: "openNewTab",
parameters: ["https://groups.google.com/g/vfb-suport"]
}
},
{
label: "Circuit Browser Query (Shortest Weighted Path Algorithm)",
icon: "fa fa-connectdevelop",
trailerIcon: "fa fa-external-link",
action: {
handlerAction: "openNewTab",
parameters: ["https://groups.google.com/forum/#!forum/vfb-suport"]
parameters: ["https://github.com/VirtualFlyBrain/graph_queries/blob/main/weighted_path.md"]
}
},
{
label: "Report an issue",
icon: "",
icon: "fa fa-bug",
action: {
handlerAction: "clickFeedback",
parameters: []
Expand Down
Binary file added images/circuit1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/term-context.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/jest/vfb/batch1/menu-component-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ describe('VFB Menu Component Tests', () => {
await wait4selector(page, "ul.MuiList-root", { visible: true, timeout : 120000 })
// Check there's four elements in the drop down menu of 'Help'
const dropDownMenuItems = await page.evaluate(async () => document.getElementsByClassName("MuiListItem-root").length);
expect(dropDownMenuItems).toEqual(4);
expect(dropDownMenuItems).toEqual(5);
})

it('Help Modal FAQ Tab Opened', async () => {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.