forked from YeoLab/clipper
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gabriel Pratt
committed
Aug 28, 2012
1 parent
3200507
commit 70e59cd
Showing
16 changed files
with
306 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import os | ||
|
||
def data_dir(): | ||
""" | ||
Returns the data directory that contains files for data and | ||
documentation. | ||
""" | ||
return os.path.join(os.path.dirname(__file__), 'data') | ||
|
||
|
||
def test_dir(): | ||
|
||
""" | ||
Returns the data directory that contains example files for tests and | ||
documentation. | ||
""" | ||
return os.path.join(os.path.dirname(__file__), 'test') | ||
|
||
def data_file(fn): | ||
fn = os.path.join(data_dir(), fn) | ||
|
||
if not os.path.exists(fn): | ||
raise ValueError("%s does not exist") | ||
return fn | ||
|
||
|
||
def test_file(fn): | ||
fn = os.path.join(data_dir(), fn) | ||
|
||
if not os.path.exists(fn): | ||
raise ValueError("%s does not exist") | ||
return fn |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ENSG00000232113 384 | ||
ENSG00000228150 323 | ||
ENSG00000223883 437 | ||
ENSG00000135750 3141 | ||
ENSG00000227280 212 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ENSG00000232113 1147 | ||
ENSG00000228150 3088 | ||
ENSG00000223883 46051 | ||
ENSG00000135750 35997 | ||
ENSG00000227280 609 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.