Skip to content

Commit

Permalink
Merge pull request #87 from proteomexchange/checksum
Browse files Browse the repository at this point in the history
2.4.15 add fileId of checksum as 0
  • Loading branch information
sureshhewabi authored Apr 14, 2020
2 parents 13ee45a + 7f93c79 commit 1d5d230
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PX Submission Tool is a desktop application to submit the data to proteomeXchang

# Quick Download

[<img src="https://raw.githubusercontent.com/PRIDE-Toolsuite/pride-inspector/master/wiki/download.png">](https://github.com/proteomexchange/px-submission-tool/releases/download/px-submission-tool-2.4.14/px-submission-tool.zip)
[<img src="https://raw.githubusercontent.com/PRIDE-Toolsuite/pride-inspector/master/wiki/download.png">](https://github.com/proteomexchange/px-submission-tool/releases/download/px-submission-tool-2.4.15/px-submission-tool.zip)

Please unzip and run `px-submission-tool-<version number>.jar` file!

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>uk.ac.ebi.pride.px</groupId>
<artifactId>px-submission-tool</artifactId>
<packaging>jar</packaging>
<version>2.4.14</version>
<version>2.4.15</version>
<name>px-submission-tool</name>
<url>https://github.com/proteomexchange/px-submission-tool</url>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import org.apache.commons.cli.ParseException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import uk.ac.ebi.pride.App;
import uk.ac.ebi.pride.AppContext;
import uk.ac.ebi.pride.archive.dataprovider.file.ProjectFileType;
import uk.ac.ebi.pride.archive.dataprovider.project.SubmissionType;
Expand Down Expand Up @@ -436,7 +437,7 @@ private void addChecksumFile(Submission submission) {
Files.append("#Checksum File\n",checksumFile, Charset.defaultCharset());
checksumDataFile.setFile(checksumFile);
checksumDataFile.setFileType(ProjectFileType.OTHER);
submission.addDataFile(checksumDataFile);
((AppContext) App.getInstance().getDesktopContext()).addDataFile(checksumDataFile);
} catch (Exception ex) {
JOptionPane.showConfirmDialog(app.getMainFrame(),
appContext.getProperty("checksum.error.message"),
Expand Down

0 comments on commit 1d5d230

Please sign in to comment.