|
From: <rea...@us...> - 2026-04-02 04:31:32
|
Revision: 9479
http://sourceforge.net/p/sashimi/code/9479
Author: real_procopio
Date: 2026-04-02 04:31:30 +0000 (Thu, 02 Apr 2026)
Log Message:
-----------
[ProtXMLViewer] Make sure file exists before attempting to create models file
Modified Paths:
--------------
trunk/trans_proteomic_pipeline/perl/cgi-bin/ProtXMLViewer.pl
Modified: trunk/trans_proteomic_pipeline/perl/cgi-bin/ProtXMLViewer.pl
===================================================================
--- trunk/trans_proteomic_pipeline/perl/cgi-bin/ProtXMLViewer.pl 2026-04-02 03:18:39 UTC (rev 9478)
+++ trunk/trans_proteomic_pipeline/perl/cgi-bin/ProtXMLViewer.pl 2026-04-02 04:31:30 UTC (rev 9479)
@@ -3125,7 +3125,7 @@
$models_file =~ s/.prot.xml$/.prot-MODELS.html/;
my $models_exe = tpplib_perl::getHomePath() . 'bin/tpp_models.pl';
- `$models_exe $opts{'infile'}` if (!-e $models_file); # attempt, but disregard any errors
+ `$models_exe $opts{'infile'}` if (!-e $models_file && -f $opts{'infile'}); # attempt, but disregard any errors
if (-e $models_file) {
my $data_dir = tpplib_perl::getDataPath();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|