Skip to content

Update for Makie 0.24#53

Open
mkitti wants to merge 26 commits intomainfrom
web_makie_0_24
Open

Update for Makie 0.24#53
mkitti wants to merge 26 commits intomainfrom
web_makie_0_24

Conversation

@mkitti
Copy link
Copy Markdown
Collaborator

@mkitti mkitti commented Sep 30, 2025

Additionally:

  • Have scripts access ShroffCelegansModels.jl dependencies through ShroffCelegansModels.
  • :dash linestyle does not seem to work in WGLMakie at the moment
┌ Warning: Error in Javascript: THREE.WebGLProgram: Shader Error No error - VALIDATE_STATUS false                                                                                       
│                                                                                                                                                                                       
│ Program Info Log:                                                                                                                                                                     
│ error: declarations for uniform `_uuniform_pattern` have mismatching precision qualifiers                                                                                             
│                                                                                                                                                                                       
│                                                                                                                                                                                       
│                                                                                                                                                                                       
│                                                                                                                                                                                       
│ Fragment log:                                                                                                                                                                         
│ Vertex log:                                                                                                                                                                           
│                                                                                                                                                                                       
│ )                                                                                                                                                                                     
└ @ Bonito ~/.julia/packages/Bonito/j7uJq/src/serialization/protocol.jl:41                                                                                                              
An exception was thrown in JS: Error: WebGL error: Invalid operation                                                                                                                    
Additional message: error initializing scene                                                                                                                                            
Stack trace:
    Error: WebGL error: Invalid operation
        at eval (eval at <anonymous> (https://shroff-data.int.janelia.org/fix_annotation_ap_axis/assets/035c131b8eccc08f3cda4053e1ad7d59ad39836d-Bonito.bundled.js?48ef2248e493856810fbfc4159c00cceacdb52aa:3494:27), <anonymous>:19:23)
        at Object.flush (https://shroff-data.int.janelia.org/fix_annotation_ap_axis/assets/cfaeeb082a89e41751d0699070f4b0f5074da5f6-WGLMakie.bundled.js?9b1c640ca86b589a1f70ae8d8ad00f697957fb96:24584:13)
        at Object.insert (https://shroff-data.int.janelia.org/fix_annotation_ap_axis/assets/cfaeeb082a89e41751d0699070f4b0f5074da5f6-WGLMakie.bundled.js?9b1c640ca86b589a1f70ae8d8ad00f697957fb96:24579:14)
        at Module.execute_in_order (https://shroff-data.int.janelia.org/fix_annotation_ap_axis/assets/cfaeeb082a89e41751d0699070f4b0f5074da5f6-WGLMakie.bundled.js?9b1c640ca86b589a1f70ae8d8ad00f697957fb96:24594:21)
        at eval (eval at <anonymous> (https://shroff-data.int.janelia.org/fix_annotation_ap_axis/assets/035c131b8eccc08f3cda4053e1ad7d59ad39836d-Bonito.bundled.js?48ef2248e493856810fbfc4159c00cceacdb52aa:3494:27), <anonymous>:4:9)

@mkitti mkitti requested a review from bjarthur October 9, 2025 14:29
Comment thread .github/workflows/CI.yml
- '1'
- '1.10'
- '1.11'
- '1.12'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i usually just test on 1 and 1.10

using Statistics: Statistics
using StatsBase: StatsBase
using ThinPlateSplines: ThinPlateSplines
using TiffImages: TiffImages
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

namespace decluttering like the above can be automated with https://github.com/JuliaTesting/ExplicitImports.jl

twisted_mesh_plot.visible = false
on(contour_mesh_toggle.active) do v
twisted_mesh_plot.visible = v
end
Copy link
Copy Markdown

@bjarthur bjarthur Oct 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider setting twisted_mesh_plot.visible to contour_mesh_toggle.active when the former is created. like this: https://github.com/JaneliaSciComp/Transcriptome4D/blob/main/src/view-viewer.jl#L111-L112

@mkitti
Copy link
Copy Markdown
Collaborator Author

mkitti commented Nov 13, 2025

@dchen116 I just updated the web_makie_0_24 branch with all of the https://shroff-data.int.janelia.org/ apps working.

mkitti and others added 19 commits November 13, 2025 17:56
Replace hardcoded shroff-data.int.janelia.org IPs and vm7249 hostname
checks with "0.0.0.0" bind addresses and SHROFF_HOST environment
variable for proxy URLs, and use relative config_path fallback.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Also use workspace for glmakie and web projects
- Add config/linux/config_2026_03_19_v2.json (converted from Windows paths)
- Add config/convert_windows_paths.jl to translate Windows configs to Linux
- Add config/CHANGES.md summarizing differences from 2024-09-05 v1
- Update loading.jl to use the new linux config on non-Windows hosts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Dockerfile, OpenShift/K8s manifests, and README copied as-is from the
separate shroff-data-for-mark build package.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Dockerfile: COPY . instead of COPY ShroffCelegansModels.jl (repo root is now the build context)
- BuildConfigs: dockerfilePath updated to deployment/Dockerfile
- README: updated directory structure, oc commands, and noted merged patches

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants