File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 1+ import sys
12from io import StringIO
23
34import pandas as pd
45import pytest
56
67import bioframe
78
9+ is_big_endian = sys .byteorder == "big"
10+
811
912############# tests #####################
1013def test_read_table ():
@@ -55,12 +58,14 @@ def test_read_beds():
5558 schema_is_strict = True )
5659
5760
61+ @pytest .mark .skipif (is_big_endian , reason = "Test skipped on big-endian systems" )
5862def test_read_sam ():
5963 pytest .importorskip ("pysam" )
6064 # SAM file taken from https://github.com/samtools/samtools/blob/develop/examples/toy.sam
6165 _ = bioframe .read_alignments ('tests/test_data/toy.sam' )
6266
6367
68+ @pytest .mark .skipif (is_big_endian , reason = "Test skipped on big-endian systems" )
6469def test_read_bam ():
6570 pytest .importorskip ("pysam" )
6671 # converted toy.sam via `samtools view -bS toy.sam > toy.bam;
You can’t perform that action at this time.
0 commit comments