Browse Source

2.061 is NOT yet supported due to regressions in compiler

remotes/georgeg/no_streams
lomereiter 9 years ago
parent
commit
5aba31cb42
  1. 4
      README.md
  2. 2
      bio/bam/pileup.d
  3. 4
      bio/core/bgzf/inputstream.d

4
README.md

@ -11,3 +11,7 @@ Library goals are:
* Clear, documented, and maintainable codebase
* Being suitable for one-off scripts, comparable in size with those written in Python/Ruby/Perl
* Providing a platform for writing high-performance bioinformatics applications in D
--------------------------------------
Only DMD 2.060 is supported at the moment.

2
bio/bam/pileup.d

@ -677,7 +677,7 @@ unittest {
pileup2.popFront();
// check that DNA is built correctly from MD tags and CIGAR
assert(column.reference_base == reference[column.position - first_read_position]);
assert(column.reference_base == reference[cast(size_t)(column.position - first_read_position)]);
switch (column.position) {
case 796:

4
bio/core/bgzf/inputstream.d

@ -338,7 +338,7 @@ final class BgzfInputStream : IChunkInputStream {
throw new SeekException("Stream is not seekable");
}
override ulong writeBlock(const void* buf, size_t size) {
override size_t writeBlock(const void* buf, size_t size) {
throw new WriteException("Stream is not writeable");
}
@ -373,7 +373,7 @@ final class BgzfInputStream : IChunkInputStream {
auto bgzf_range = BgzfRange(stream);
auto decompressed_blocks = task_pool.map!decompressBgzfBlock(bgzf_range, 24);
_stream = makeChunkInputStream(decompressed_blocks, stream_size);
_stream = makeChunkInputStream(decompressed_blocks, cast(size_t)stream_size);
readable = true;
writeable = false;

Loading…
Cancel
Save