Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Document Modification Display
// @namespace http://tampermonkey.net/
// @version 0.3
// @updateURL https://raw.githubusercontent.com/Airistotal/UserScripts/main/Scripts/DocumentModificationDisplay.js
// @downloadURL https://raw.githubusercontent.com/Airistotal/UserScripts/main/Scripts/DocumentModificationDisplay.js
// @description Shows when the document was last modified
// @author You
// @match *://*/*
// @grant none
handler1.log:
galaxy.jobs.runners DEBUG 2015-07-29 11:48:50,904 (46) command is:
python /Warehouse/Users/dbouchard/galaxy/tools/irida_import/irida_import.py --json_parameter_file "/Warehouse/Users/dbouchard/galaxy/database/files/000/dataset_153.dat" --log-file /Warehouse/Users/dbouchard/galaxy/database/files/000/dataset_152.dat; return_code=$?; python /Warehouse/Users/dbouchard/galaxy/database/job_working_directory/000/46/set_metadata_16QCox.py /Warehouse/Users/dbouchard/galaxy/database/tmp/tmpBvhI_V /Warehouse/Users/dbouchard/galaxy/database/job_working_directory/000/46/galaxy.json /Warehouse/Users/dbouchard/galaxy/database/job_working_directory/000/46/metadata_in_HistoryDatasetAssociation_146_rnM5kq,/Warehouse/Users/dbouchard/galaxy/database/job_working_directory/000/46/metadata_kwds_HistoryDatasetAssociation_146_Bbe6iB,/Warehouse/Users/dbouchard/galaxy/database/job_working_directory/000/46/metadata_out_HistoryDatasetAssociation_146_jaXzKo,/Warehouse/Users/dbouchard/galaxy/database/job_working_directory/00
09:54 $ ./node_modules/.bin/grunt style
Running "sprite:history-buttons" (sprite) task
Fatal error: Cannot define property:4, object is not extensible.
<?xml version="1.0"?>
<!-- If job_metrics.xml exists, this file will define the default job metric
plugin used for all jobs. Individual job_conf.xml destinations can
disable metric collection by setting metrics="off" on that destination.
The metrics attribute on destination definition elements can also be
a path - in which case that XML metrics file will be loaded and used for
that destination. Finally, the destination element may contain a job_metrics
child element (with all options defined below) to define job metrics in an
embedded manner directly in the job_conf.xml file.
-->
from galaxy.jobs import JobDestination
import os
import logging
def space_allocation(job):
"""Allocate dynamic space"""
logging.basicConfig(filename='fastqc.log', level=logging.DEBUG)
logging.debug("I'm working...")
for da in job.input_datasets:
Traceback (most recent call last):
File "/Warehouse/Users/dbouchard/shed_tools/toolshed.g2.bx.psu.edu/repos/devteam/fastqc/e28c965eeed4/fastqc/rgFastQC.py", line 204, in <module>
assert os.path.isfile(opts.executable),'##rgFastQC.py error - cannot find executable %s' % opts.executable
AssertionError: ##rgFastQC.py error - cannot find executable /fastqc
/Warehouse/Users/dbouchard/galaxy/eggs/pysam-0.4.2_kanwei_b10f6e722e9a-py2.6-linux-x86_64-ucs4.egg/pysam/__init__.py:1: RuntimeWarning: __builtin__.file size changed, may indicate binary incompatibility
from csamtools import *
/Warehouse/Users/dbouchard/galaxy/eggs/pysam-0.4.2_kanwei_b10f6e722e9a-py2.6-linux-x86_64-ucs4.egg/pysam/__init__.py:1: RuntimeWarning: __builtin__.file size changed, may indicate binary incompatibility
from csamtools import *