|
285 | 285 | import java.awt.*; |
286 | 286 | import java.awt.image.BufferedImage; |
287 | 287 | import java.io.ByteArrayInputStream; |
288 | | -import java.io.File; |
289 | 288 | import java.io.IOException; |
290 | 289 | import java.io.InputStream; |
291 | 290 | import java.io.StringWriter; |
@@ -3226,7 +3225,7 @@ private void addSpectrumViews(TargetedMSRun run, VBox vbox, Peptide peptide, Bin |
3226 | 3225 | PipeRoot root = PipelineService.get().getPipelineRootSetting(getContainer()); |
3227 | 3226 | if (null != root) |
3228 | 3227 | { |
3229 | | - LocalDirectory localDirectory = LocalDirectory.create(root, MODULE_NAME); |
| 3228 | + LocalDirectory localDirectory = LocalDirectory.create(root); |
3230 | 3229 | try |
3231 | 3230 | { |
3232 | 3231 | List<SpeclibReaderException> specLibErrors = new ArrayList<>(); |
@@ -3936,18 +3935,6 @@ public void setPeptideRepresentative(String[] peptideRepresentative) |
3936 | 3935 | { |
3937 | 3936 | _peptideRepresentative = peptideRepresentative; |
3938 | 3937 | } |
3939 | | - |
3940 | | - @Override |
3941 | | - public List<File> getValidatedFiles(Container c) |
3942 | | - { |
3943 | | - List<File> files = super.getValidatedFiles(c); |
3944 | | - List<File> resolvedFiles = new ArrayList<>(files.size()); |
3945 | | - for(File file: files) |
3946 | | - { |
3947 | | - resolvedFiles.add(FileUtil.resolveFile(file)); // Strips out ".." and "." from the path |
3948 | | - } |
3949 | | - return resolvedFiles; |
3950 | | - } |
3951 | 3938 | } |
3952 | 3939 |
|
3953 | 3940 | @RequiresPermission(InsertPermission.class) |
@@ -6281,7 +6268,7 @@ public boolean handlePost(ResolveConflictForm resolveConflictForm, BindException |
6281 | 6268 | PipeRoot root = PipelineService.get().getPipelineRootSetting(getContainer()); |
6282 | 6269 | if (null != root) |
6283 | 6270 | { |
6284 | | - LocalDirectory localDirectory = LocalDirectory.create(root, MODULE_NAME); |
| 6271 | + LocalDirectory localDirectory = LocalDirectory.create(root); |
6285 | 6272 | try |
6286 | 6273 | { |
6287 | 6274 | ChromatogramLibraryUtils.incrementLibraryRevision(getContainer(), getUser(), localDirectory); |
@@ -6573,7 +6560,7 @@ public ModelAndView getView(DownloadForm form, BindException errors) throws Exce |
6573 | 6560 | PipeRoot root = PipelineService.get().getPipelineRootSetting(getContainer()); |
6574 | 6561 | if (null != root) |
6575 | 6562 | { |
6576 | | - LocalDirectory localDirectory = LocalDirectory.create(root, MODULE_NAME); |
| 6563 | + LocalDirectory localDirectory = LocalDirectory.create(root); |
6577 | 6564 | try |
6578 | 6565 | { |
6579 | 6566 | ChromatogramLibraryUtils.writeLibrary(container, getUser(), localDirectory, libraryRevision); |
|
0 commit comments