Commit 96cc4a61 authored by Penom Nom's avatar Penom Nom
Browse files

refresh while reruning. sort run table by date

parent 7977e039
......@@ -1367,14 +1367,14 @@ function initRunTable() {
var options = {
"scrollX" : "90%",
"sScrollXInner" : "100%",
"order" : [[0, 'desc']],
"order" : [[2, 'desc']],
"columnDefs" : [{ "targets" : 0, "type" : "anti-label" },
{ "targets" : 2, "type" : "date" },
{ "targets" : [6,7], "type": "formatted-num" }
]
};
if ($(":checkbox[id^=chk_run_]").size() > 0) {
options.order = [[1, 'desc']];
options.order = [[3, 'desc']];
options.columnDefs = [
{ "targets" : 0, "orderable": false, "width": "1%" },
{ "targets" : 1, "type": "anti-label"},
......@@ -1784,6 +1784,7 @@ function refreshWFStatusHandler(event){
function rerunWFHandler(event){
var selector = event.data.selector;
$(selector).wfstatus('rerun');
$(selector).wfstatus('reload');
if(event.data.hasOwnProperty('callback')){
event.data.callback();
......
......@@ -15,7 +15,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from jflow.component import Component
from ng6.analysis import Analysis
class BasicAnalyse (Analysis):
......
......@@ -15,15 +15,13 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from jflow.component import Component
from ng6.analysis import Analysis
class BasicAnalyse (Analysis):
class BasicAnalysis (Analysis):
def define_parameters(self, files, name, description, software, options, version, compression="none",
delete=False, archive_name=None):
#self.add_input_file_list( "files", "The files to be archived.", default=files, required=True )
self.add_parameter_list( "input_files", "The files to be archived.", default=files, required=True )
self.add_parameter( "analysis_name", "The analysis name", default=name, required = True )
self.add_parameter( "analysis_description", "Analysis description", default=description, required = True )
......@@ -40,12 +38,12 @@ class BasicAnalyse (Analysis):
self.description = self.analysis_description
self.software = self.analysis_software
self.options = self.analysis_software_options
self.version = self.analysis_software_version
def process(self): pass
def get_version(self):
return self.analysis_software_version
def get_version(self): return ''
def post_process(self):
self._archive_files(self.files, self.compression, self.archive_name, self.delete)
self._archive_files(self.input_files, self.data_compression, self.archive_name, self.delete)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment