Changeset 4526


Ignore:
Timestamp:
Oct 23, 2013, 11:52:17 AM (9 years ago)
Author:
olle
Message:

Refs #805. Retraction of writing URL of files instead of local path for http-accessible files, that was added in changeset [4515], as the ProteomeXchange submission tool does not currently support this.

  1. Class/file plugins/ProteomeXchangeExportPlugin.java in plugin updated in private method void writeProteomeXchangeFme(FileCrudeWriter fileCrudeWriter, int index, String fileType, File file, String fileMapping) to not write URL of files instead of local path for http-accessible files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugin/src/org/proteios/plugins/ProteomeXchangeExportPlugin.java

    r4515 r4526  
    11201120      filePath = file.getPath().toString();
    11211121    }
    1122     if (file.getUniformResourceIdentifier()!=null && file.getUniformResourceIdentifier().startsWith("http://"))
    1123     {
    1124       filePath = file.getUniformResourceIdentifier();
    1125     }
    11261122    //fileCrudeWriter.writeLine("FMH\tfile_id\tfile_type\tfile_path\tfile_mapping");
    11271123    fileCrudeWriter.writeLine("FME\t" + index + "\t" + fileType + "\t" + filePath + "\t" + fileMapping);
Note: See TracChangeset for help on using the changeset viewer.