Skip to content

Commit 3a34a11

Browse files
committed
Update the license checkbox in the tools' download window.
1 parent 0623b91 commit 3a34a11

File tree

2 files changed

+8
-20
lines changed

2 files changed

+8
-20
lines changed

MSFragger-GUI/src/com/dmtavt/fragpipe/dialogs/DownloadToolsPanel.java

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ public class DownloadToolsPanel extends JPanel {
4242
private FormEntry feName;
4343
private FormEntry feEmail;
4444
private FormEntry feInstitution;
45-
private JCheckBox license0;
4645
private JCheckBox license2;
4746
private JCheckBox license3;
4847
private JCheckBox license1;
@@ -95,20 +94,14 @@ private void initMore() {
9594
FormEntry feDownloadIonQuant = mu.feb(uiCheckDownloadIonQuant).label("Download IonQuant").create();
9695
FormEntry feDownloadDiaTracer = mu.feb(uiCheckDownloadDiaTracer).label("Download diaTracer").create();
9796

98-
JEditorPane t1 = SwingUtils.createClickableHtml("I understand that the academic license provides with a non-exclusive,<br>"
99-
+ "non-transferable right to use MSFragger, IonQuant, and diaTracer solely<br>"
100-
+ "for academic research, non-commercial or educational purposes within the<br>"
101-
+ "licensee's department. I acknowledge that commercial use of any kind<br>"
102-
+ "under the terms of the academic licenses is strictly prohibited.");
97+
JEditorPane t1 = SwingUtils.createClickableHtml("I have read the academic licenses. I understand that the licenses provide<br>"
98+
+ "with a non-exclusive, non-transferable right to use the tools solely for<br>"
99+
+ "academic research, non-commercial or educational purposes within the<br>"
100+
+ "licensee’s department. If I am a non-academic user, I will contact the<br>"
101+
+ "University of Michigan Office of Technology Transfer (Drew Bennett,<br>"
102+
+ "andbenne@umich.edu) to obtain a commercial license to use the tools.");
103103
license1 = new JCheckBox();
104104

105-
JEditorPane t5 = SwingUtils.createClickableHtml("I understand that use by any commercial entity (beyond the 60-day<br>"
106-
+ "evaluation period) requires a separately executed, paid license from<br>"
107-
+ "the University of Michigan Office of Technology Transfer (Drew Bennett,<br>"
108-
+ "andbenne@umich.edu). For questions, you may also contact Prof. Alexey<br>"
109-
+ "Nesvizhskii (nesvi@med.umich.edu).");
110-
license0 = new JCheckBox();
111-
112105
JEditorPane t2 = SwingUtils.createClickableHtml("I agree to the terms of <a href=\"https://msfragger-upgrader.nesvilab.org/upgrader/RawFileRdr_License_Agreement_RevA.pdf\" target=\"blank_\">Thermo (c) Raw File Reader License Agreement</a>.");
113106
license2 = new JCheckBox();
114107

@@ -141,9 +134,6 @@ private void initMore() {
141134
mu.add(panelTextboxes, license1, mu.ccR());
142135
mu.add(panelTextboxes, t1).spanX().wrap();
143136

144-
mu.add(panelTextboxes, license0, mu.ccR());
145-
mu.add(panelTextboxes, t5).spanX().wrap();
146-
147137
mu.add(panelTextboxes, license2, mu.ccR());
148138
mu.add(panelTextboxes, t2).spanX().wrap();
149139

@@ -184,10 +174,10 @@ public String getInstitution() {
184174
}
185175

186176
public boolean licensesChecked() {
187-
if (license0 == null || license1 == null || license2 == null || license3 == null) {
177+
if (license1 == null || license2 == null || license3 == null) {
188178
return false;
189179
} else {
190-
return license0.isSelected() && license1.isSelected() && license2.isSelected() && license3.isSelected();
180+
return license1.isSelected() && license2.isSelected() && license3.isSelected();
191181
}
192182
}
193183

MSFragger-GUI/src/com/dmtavt/fragpipe/tools/fragger/MsfraggerVersionFetcherServer.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ public Path autoUpdate(Path toolsPath) throws Exception {
142142
requestBody = new MultipartBody.Builder()
143143
.setType(MultipartBody.FORM)
144144
.addFormDataPart("transfer", "academic")
145-
.addFormDataPart("agreement1", "true")
146145
.addFormDataPart("agreement2", "true")
147146
.addFormDataPart("agreement3", "true")
148147
.addFormDataPart("name", name)
@@ -155,7 +154,6 @@ public Path autoUpdate(Path toolsPath) throws Exception {
155154
requestBody = new MultipartBody.Builder()
156155
.setType(MultipartBody.FORM)
157156
.addFormDataPart("transfer", "academic")
158-
.addFormDataPart("agreement1", "true")
159157
.addFormDataPart("agreement2", "true")
160158
.addFormDataPart("agreement3", "true")
161159
.addFormDataPart("name", name)

0 commit comments

Comments
 (0)