projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c64e8f1
)
Don't attempt to save xml for a matrix in firecrest if it wasn't created.
author
Diane Trout
<diane@caltech.edu>
Tue, 31 Mar 2009 01:30:40 +0000
(
01:30
+0000)
committer
Diane Trout
<diane@caltech.edu>
Tue, 31 Mar 2009 01:30:40 +0000
(
01:30
+0000)
since we're now creating it in bustard for greater than pipeleine 1.1
htsworkflow/pipelines/firecrest.py
patch
|
blob
|
history
diff --git
a/htsworkflow/pipelines/firecrest.py
b/htsworkflow/pipelines/firecrest.py
index bcac6edd668810dc0bed9d7286751a71d157b074..e8d0a2898c0c4d5621732a2fd0abdb5778dcdfd1 100644
(file)
--- a/
htsworkflow/pipelines/firecrest.py
+++ b/
htsworkflow/pipelines/firecrest.py
@@
-70,8
+70,9
@@
class Firecrest(object):
run_date.text = str(self.time)
user = ElementTree.SubElement(root, Firecrest.USER)
user.text = self.user
- matrix = ElementTree.SubElement(root, Firecrest.MATRIX)
- matrix.text = self.matrix
+ if self.matrix is not None:
+ matrix = ElementTree.SubElement(root, Firecrest.MATRIX)
+ matrix.text = self.matrix
return root
def set_elements(self, tree):