File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ cutlass 0.21
2+
3+ * Change to exception message related to linkages of
4+ MicrobTranscriptomicsRawSeqSet nodes reported by @cometsong.
5+ * Aspera version check fixed to cope with older version of ascp
6+ reported by @parikhhi.
7+
8+ - Victor <victor73@github.com> Mon, 19 Sep 2016 14:00:00 -0400
9+
110cutlass 0.20
211
3- * Changes to Sample by @cometson to fix name attribute.
12+ * Changes to Sample by @cometsong to fix name attribute.
413 * Fixed problem identified by @parikhhi with Sample links.
514
615 - Victor <victor73@github.com> Thu, 01 Sep 2016 17:00:00 -0400
@@ -13,7 +22,7 @@ cutlass 0.19.1
1322
1423cutlass 0.19
1524
16- * Closed CUTLASS-3 problem with searches reported by Benjamin Leopold .
25+ * Closed CUTLASS-3 problem with searches reported by @comentsong .
1726 * Also addressed search() method for the other classes.
1827 * Fixed minor issue with test_aspera.py unit test and moved round-trip test
1928 script to tests/bin subdirectory to avoid conflict with unittest module and
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ def validate(self):
9393 problems .append ("Local file does not point to an actual file." )
9494
9595 if 'sequenced_from' not in self ._links .keys ():
96- problems .append ("Must add a 'sequenced_from' link to a host_seq_prep ." )
96+ problems .append ("Must add a 'sequenced_from' link to a wgs_dna_prep ." )
9797
9898 self .logger .debug ("Number of validation problems: %s." % len (problems ))
9999
Original file line number Diff line number Diff line change @@ -40,13 +40,12 @@ def get_ascp_version(ascp_command):
4040 logger .debug ("In get_ascp_version." )
4141
4242 version = None
43- retval = subprocess .check_output ([ascp_command , "--version" ],
43+ output = subprocess .check_output ([ascp_command , "--version" ],
4444 universal_newlines = True )
45- cre = re .compile (r"^.*ascp version (\d[\d\.]+)" , re .MULTILINE )
46- for match in cre .finditer (retval ):
45+ cre = re .compile (r"^.+ version (\d[\d\.]+)" , re .MULTILINE )
46+ for match in cre .finditer (output ):
4747 version = match .groups ()[0 ]
4848
49- # raise an exception if the expected string couldn't be matched
5049 if version is None :
5150 raise Exception ("Output from ascp command ('" + ascp_command + \
5251 " --version') did not contain a recognizable " + \
You can’t perform that action at this time.
0 commit comments