SpringSaLaD: the reserved Anchor site defaults to DARK_GRAY, which is nearly invisible in the trajectory viewer
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 84/100
Direzione di ricerca
Inizia con l'helper visible(Color c) in SpringSaladViewerCanvas (vicino alla riga 111, dove lo sfondo viene impostato su Color.black) e il suo controllo floor = 40, poi trova la riga di SpeciesContextSpec che imposta nextColor = Colors.DARKGRAY per componentCount == anchorIndex. Decidi, in base alle opzioni dell'issue, se cambiare il colore predefinito dell'Anchor, alzare la lifting floor, o entrambe le cose. L'issue è risolto quando il Anchor site è chiaramente visibile come sfera nel visualizzatore 3D Trajectory sullo sfondo nero, con tutti i test della tabella dei colori o i controlli di rendering del visualizzatore esistenti che passano ancora.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The 3D Trajectory viewer draws on a black background
(SpringSaladViewerCanvas:111, setBackground(Color.black)), so a dark site colour is a
site the user cannot see. The default colour VCell gives the reserved Anchor site is
DARK_GRAY.
SpeciesContextSpec assigns it explicitly — if (componentCount == anchorIndex) nextColor = Colors.DARKGRAY; — presumably to mark the anchor as structural rather than chemical,
which reads well in the Molecular Structures tables and in the molecule diagram. In the
viewer it is a smudge: DARK_GRAY is (64,64,64), and the sphere shading multiplies that down
further.
The canvas already has a guard for this, but it does not reach far enough:
/**
* Lift a color that is too dark to survive the sphere shading (which multiplies by luminance) —
* BLACK would otherwise be an invisible disc on the black background.
*/
private static Color visible(Color c) {
int floor = 40;
...
}
DARK_GRAY sails past that floor untouched, and BLACK, which the floor does catch, is only
lifted to (40,40,40) — still very close to invisible.
Why it matters
A membrane molecule must have an Anchor site, so this is not an unusual configuration:
it is every membrane molecule in every SpringSaLaD model, unless the modeller happened to
change the colour. Someone looking at a trajectory to see whether their receptors are
clustering is looking at the one site that holds the molecule in the membrane.
Options
- Change the default for the Anchor site to something light — WHITE or LIGHT_GRAY. It
would still read as "structural, not chemical" against the coloured domains, and it would
be visible in both places. - Raise the floor in
visible()so that anything dark enough to disappear against black
is lifted, rather than only near-black. This helps every dark colour a user picks, not
just the default. - Both. They solve different halves: one is about the default, the other about a colour the
user chose without knowing the background.
Documented in the meantime, on the new SpringSaLaD Species and Results help pages.
- Lingua principale
- Java
- Stelle
- 140
- Fork
- 35
- Merge medio
- 22h 6m
- PR unite (30g)
- 14
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di virtualcell/vcell
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
virtualcell/vcell#2193 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Accessibility Requirement Java-based User Interface
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
virtualcell/vcell#2138 ·
I maintainer di solito rispondono entro 1 giorno
-
Accessibility Requirement Java-based
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
virtualcell/vcell#2137 ·
I maintainer di solito rispondono entro 1 giorno
-
Accessibility Requirement User Interface
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
virtualcell/vcell#2135 ·
I maintainer di solito rispondono entro 1 giorno
-
Accessibility Requirement Java-based User Interface
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
virtualcell/vcell#2134 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di virtualcell/vcell
Issue simili
-
ARM: Q flag should be stickyAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
NationalSecurityAgency/ghidra#10155 ·
I maintainer di solito rispondono entro 2 giorni
-
bug web-ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
jenkinsci/jenkins#27705 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
"item-tooltip-keyboard-fix" crashes the game when opening the Items tab of the statistics menuApertamod bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
elmital/FixMCStats#65 · 3 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
googleads/googleads-mobile-flutter#1541 ·
I maintainer di solito rispondono entro 4 giorni
-
Keyboard crashes Chrome tabsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
Julow/Unexpected-Keyboard#1490 ·
I maintainer di solito rispondono entro 4 giorni