Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
ebd3edb
added function to change the global dualMode variable, linked it to t…
NetzwergDE Nov 18, 2025
e5f8e0d
changes in changeDualMode function
NetzwergDE Nov 19, 2025
fdd7884
changes for dual mode in startSession function
NetzwergDE Nov 19, 2025
706a57b
added request definition for 2 data sets in startSession
NetzwergDE Nov 20, 2025
f50c7ba
normal mode js adjustments finished except exclude classes
NetzwergDE Nov 20, 2025
38fd3cc
small changes in ptmvision main js
NetzwergDE Nov 24, 2025
94e4943
request editing
NetzwergDE Nov 25, 2025
f6eb16f
added mass shift tolerance
NetzwergDE Nov 27, 2025
0feda65
commenting
NetzwergDE Nov 27, 2025
d2ff319
added Excluded classes to the request
NetzwergDE Nov 27, 2025
4d0e08b
finished startSession function
NetzwergDE Nov 27, 2025
8f2ef8a
fixed data-type-form null error
NetzwergDE Nov 28, 2025
675627e
set max content 100MB + troubleshooting + commenting
NetzwergDE Dec 2, 2025
6f2f26f
added the View Selector button styling in nav menu
NetzwergDE Feb 16, 2026
9095b3c
added html header
NetzwergDE Feb 16, 2026
c761f70
added dual mode status display + functions (W.I.P)
NetzwergDE Feb 18, 2026
a1897e0
ViewSelector Working, DualMode Working (2nd dataset input needs fix)
NetzwergDE Feb 19, 2026
301b2f5
fixed input data show/hide and adjusted styling
NetzwergDE Feb 19, 2026
c95ef2b
removed unused function from dualmode js script
NetzwergDE Feb 19, 2026
d46e22f
removed debugging elements from dualmode js + cleanup
NetzwergDE Feb 19, 2026
c47d5f2
refactoring in dualModeChangeState() function
NetzwergDE Feb 19, 2026
03e3d1b
cleanup in selectview js script
NetzwergDE Feb 19, 2026
e1ad823
initial branch commit
NetzwergDE Feb 19, 2026
cc40f1a
updated axios version
NetzwergDE Feb 19, 2026
7a42b1e
removed some testing relicts from dualmode js script
NetzwergDE Feb 19, 2026
953a90d
window location set
NetzwergDE Feb 19, 2026
c91cde2
implemented dualModeSendState first version... should send PUT req to…
NetzwergDE Feb 22, 2026
b3faf8d
removed unneccessary line from dualModeSendState
NetzwergDE Feb 22, 2026
8b3f74a
working post request
NetzwergDE Feb 23, 2026
7213bd5
begin server side work, finished client side work (for now)
NetzwergDE Feb 24, 2026
51d3a59
extracted the status of the dual mode in the state_dual_mode (true/fa…
NetzwergDE Feb 24, 2026
ef27361
fixed global definition problem of DUAL_MODE and changed to Boolean type
NetzwergDE Feb 27, 2026
1f070d6
removed debugging function, fixed debugging related issues
NetzwergDE Feb 27, 2026
a9a6ab3
removed debug related calls from get_dual_mode function
NetzwergDE Feb 27, 2026
f5d6204
added global colors for dual mode datasets
NetzwergDE Mar 2, 2026
400e6dc
updated displayNotification function to work with the new UI
NetzwergDE Mar 3, 2026
ea6cc3b
added proteinview functionality with backend communication (1 dataset)
NetzwergDE Apr 24, 2026
b308615
empty css fixed
NetzwergDE Apr 24, 2026
f4d4582
removed unfinished function call and console logging
NetzwergDE Apr 24, 2026
389de0c
removed unwanted/unneeded libraries and scripts
NetzwergDE Apr 24, 2026
14e33f2
javascript library and script changes
NetzwergDE Apr 24, 2026
8329d04
added charts demo file
NetzwergDE Apr 24, 2026
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
Binary file added ChartsDemo.zip
Binary file not shown.
401 changes: 336 additions & 65 deletions app/ptmvision/api.py

Large diffs are not rendered by default.

41 changes: 41 additions & 0 deletions app/ptmvision/static/css/dual-mode-button-style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/* Buttons in the sidebar menu */

/* Container for the view select buttons */
#ViewSelector{
background-color: gray;
font-size: 0px;
display: flex;
align-items: center;
justify-content: center;
}

#LeftViewSelButton{
border-top-left-radius: 50%;
border-bottom-left-radius: 50%;
width: 10%;
}

#RightViewSelButton{
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
width: 10%;
}

#MiddleViewSelButton{
width: 15%;
}


.ViewSelButtons{
background-color: rgb(129, 131, 155);
margin-left: -1px;
margin-right: -1px;
border-style: solid;
border-color: black;
color: black;
font-size: large;
}

.ViewSelButtons:hover{
background-color: rgb(159, 162, 196);
}
19 changes: 19 additions & 0 deletions app/ptmvision/static/css/molview-style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
Styling of molecule view window (kekulejs)
(window opens when pressing on supported ptms in PTMCounts)
*/
body {
background-color: rgb(126, 149, 153);
}

.Centered {

color: #1d1d1d;
}

#molDisplay{
border: 2px solid black;
height: 300px;
width: 400px;
background-color: #FFFFFF;
}
20 changes: 18 additions & 2 deletions app/ptmvision/static/css/nav-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Stylesheet specific for the navigation bar
*/


#Navigation img{
margin-top: 0.5%;
}


/*The button (image) for opening the navigation menu*/
#NavOpenButton{
position: fixed;
Expand All @@ -15,12 +20,13 @@ Stylesheet specific for the navigation bar
position: fixed;
z-index: 2;
width: 0;
background-color: #fca75d;
background-color: gray;
overflow-x: hidden;
height: 50%;
width: 0%;
transition: 0.1s;
border-radius: 5px;
margin-top: 0.5%;
}


Expand All @@ -30,7 +36,7 @@ Stylesheet specific for the navigation bar
text-indent: 5%; /*indent for text, looks nicer*/
}

#NavBlock p{
#NavBlock h3{
text-indent: 5%; /*indent for text, looks nicer*/
}

Expand All @@ -53,6 +59,16 @@ Stylesheet specific for the navigation bar
list-style-type: none;
}

/*"Select Mode heading, default hidden because of default disabled dual mode"*/
#NavBlock #ViewSelectorHeading{
display: none;
}

/*View selector buttons, default hidden*/
#NavBlock #ViewSelector{
display: none;
}

/*Button to close the navigation menu*/
#NavCloseButton{
color: white;
Expand Down
73 changes: 73 additions & 0 deletions app/ptmvision/static/css/ptmvision-header.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
header{
background-color: gray;
height: 60px;
display: flex;
flex-wrap: nowrap;
position: sticky;
z-index: 1000;
top: 0;
}

.headerSec {
display: flex;
height: 60px;
align-self: center;

/*text setting: */
font-family: 'Courier New', Courier, monospace;
color: white;
font-weight: bold;

}

#HeaderSecLogo {
width: 15%;
justify-content: center;
align-items: stretch;
}

#HeaderSecError {

color: #FFFFFF;
/*Settings for the positioning of the error msg*/
justify-content: center;
align-items: center;
}


#HeaderSecSpace {
width: 450%;
}

#HeaderSecDataset {
justify-content: flex-end;

/*Settings for the positioning of the dataset display*/
justify-content: center;
align-items: center;
}

#HeaderSecDSTextContainer{
display: none;
}

#HeaderSecDualStatus {
/*container settings: */
display: flex;
flex-direction: column;

}

#HeaderSecDualStatus p{
/*alignment settings: */
align-self: center;
justify-content: center;
}

#DualModeStatusDot{
height: 15px;
width: 80%;
background-color: #FF3636; /*turn this green or red depending if dual mode is enabled or disabled*/
align-self: center;

}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ section{
width: 95%;
}

/*TODO: Buttons for changing datasets/comparative view*/
/*TODO: Buttons for changing datasets/comparative view -> in dual-mode-button-style.css */
#ModeSelector{
border: 1px solid black;
}
Expand All @@ -23,10 +23,6 @@ section{
background-color: #bdbdbd;
}

#input-data-set-2{
display: none;
}


#OverviewSection{
background-color: #bdbdbd;
Expand All @@ -43,7 +39,7 @@ section{
display: none;
}

#ModificationDetailsSection{
#DashboardSection{
background-color: #bdbdbd;
display: none;
}
Expand All @@ -52,6 +48,18 @@ section{
display: flex;
}

#input-data-set-1{
width: 45%;
}

#input-data-set-2{
display: none;
width: 45%;
}

#input-data-y-line{
display: none;
}

/*
Important for correct select 2 multi select display:
Expand Down
14 changes: 14 additions & 0 deletions app/ptmvision/static/css/ptmvision-overview.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#Overview{
/*Main Overview Chart*/
height: 600px;
border-style: solid;
border-color: black;
border-width: 1px;
}

#PTMCountMolView{
/*PTM Count with click interaction*/
border-style: solid;
border-color: black;
border-width: 1px;
}
15 changes: 15 additions & 0 deletions app/ptmvision/static/css/ptmvision-protein.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
Style of the proteinview table
*/

#ProtTable{
height: 500px;
overflow: hidden;
}

#ProteinTreemap{
height: 800px;
border-style: solid;
border-color: black;
border-width: 1px;
}
2 changes: 0 additions & 2 deletions app/ptmvision/static/js/axios-1.1.2.min.js

This file was deleted.

5 changes: 5 additions & 0 deletions app/ptmvision/static/js/lib-axios-1.13.5.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions app/ptmvision/static/js/lib-kekule.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions app/ptmvision/static/js/lib-raphael.min.js

Large diffs are not rendered by default.

Loading