Skip to content

Dev#91

Merged
mwittep merged 3 commits intomainfrom
dev
Apr 9, 2025
Merged

Dev#91
mwittep merged 3 commits intomainfrom
dev

Conversation

@mwittep
Copy link
Copy Markdown
Contributor

@mwittep mwittep commented Apr 9, 2025

No description provided.

mwittep added 2 commits April 9, 2025 14:40
adapt Gosling visualization
Bases only appear when the view is zoomed in
Change superpos for condition
Remove background color
@mwittep mwittep requested a review from Copilot April 9, 2025 12:46
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (6)

src/components/Result/GoslingVisualizations/SingleGenomeViz.jsx:76

  • Removal of the background style from the view object may affect the intended visualization appearance. Confirm that this change aligns with the design requirements.
"style": { outline: "black", outlineWidth: 2 }

src/components/Result/GoslingVisualizations/SharedGoslingFunctions.js:80

  • The new threshold and transitionPadding values substantially reduce the zoom trigger range. Please review and verify that these values produce the desired transition behavior.
"threshold": 125,

src/components/Result/GoslingVisualizations/SharedGoslingFunctions.js:114

  • Commenting out this style configuration in createBinnedView might lead to inconsistent styling across visualizations. If the removal is intentional, consider cleaning up the commented code.
// "style": { "background": strand === "+" ? "lightblue" : "#f59f95", "backgroundOpacity": 0.25 }

src/components/Result/GoslingVisualizations/SharedGoslingFunctions.js:230

  • The removal of this style setting in createGFFTrack alters the visual emphasis of the track. Ensure this change is consistent with the overall design intent.
// "style": { background: strand === "+" ? "lightblue" : "#f59f95", backgroundOpacity: 0.15 }

src/components/Result/GoslingVisualizations/AlignedGenomeViz.jsx:110

  • The background property was removed from the style configuration. Verify that the intended visual contrast is maintained without it.
"style": { "backgroundOpacity": 0.25, "outline": "black", "outlineWidth": 2 }

src/components/Result.jsx:78

  • [nitpick] Consider renaming the variable 'col' to something more descriptive like 'columns' to improve code readability.
let col = headers.map((h, i) => {

{
"alignment": "overlay",
"style": { background: strand === "+" ? "lightblue" : "#f59f95", backgroundOpacity: 0.25 },
// "style": { background: strand === "+" ? "lightblue" : "#f59f95", backgroundOpacity: 0.25 },
Copy link

Copilot AI Apr 9, 2025

Choose a reason for hiding this comment

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

Commented-out style properties can lead to unexpected visual behavior. If this removal is intentional, consider removing the commented code to improve clarity.

Suggested change
// "style": { background: strand === "+" ? "lightblue" : "#f59f95", backgroundOpacity: 0.25 },

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

@mwittep mwittep merged commit 37b0e38 into main Apr 9, 2025
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