Skip to content

Commit

Permalink
✅ Update tests to use URL_LIST
Browse files Browse the repository at this point in the history
  • Loading branch information
znatty22 committed May 28, 2019
1 parent 433ee40 commit 71bd0db
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
),
keep_map(
in_col='file_path',
out_col=CONCEPT.GENOMIC_FILE.FILE_PATH
out_col=CONCEPT.GENOMIC_FILE.URL_LIST
),
keep_map(
in_col='file_path',
Expand Down
4 changes: 2 additions & 2 deletions tests/data/test_study/extract_configs/simple_tsv_example2.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
),
row_map(
m=lambda row: row['storage_dir'] + '/' + row['bam_file_name'],
out_col=CONCEPT.GENOMIC_FILE.FILE_PATH
out_col=CONCEPT.GENOMIC_FILE.URL_LIST
),
row_map(
m=lambda row: row['storage_dir'] + '/' + row['cram_file_name'],
out_col=CONCEPT.GENOMIC_FILE.FILE_PATH
out_col=CONCEPT.GENOMIC_FILE.URL_LIST
)
]
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
value_map(
in_col='s3_path',
m=lambda x: 's3://' + x,
out_col=CONCEPT.GENOMIC_FILE.FILE_PATH
out_col=CONCEPT.GENOMIC_FILE.URL_LIST
),
value_map(
in_col='DNA/RNA',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
index BIOSPECIMEN|ALIQUOT_ID GENOMIC_FILE|FILE_PATH GENOMIC_FILE|FILE_NAME BIOSPECIMEN|ID
index BIOSPECIMEN|ALIQUOT_ID GENOMIC_FILE|URL_LIST GENOMIC_FILE|FILE_NAME BIOSPECIMEN|ID
0 4 FLDR0/2.bam 2.bam 4
1 5 FLDR0/3.bam 3.bam 5
2 6 FLDR0/4.bam 4.bam 6
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
index BIOSPECIMEN|ALIQUOT_ID BIOSPECIMEN|ID GENOMIC_FILE|FILE_PATH BIOSPECIMEN|ANALYTE
index BIOSPECIMEN|ALIQUOT_ID BIOSPECIMEN|ID GENOMIC_FILE|URL_LIST BIOSPECIMEN|ANALYTE
0 4 4 s3://foo/bar/vgrnqzhvrudvz3z/mn0ql.bam DNA
1 5 5 s3://foo/bar/bciz5579cez770wnaani.bam DNA
2 6 6 s3://foo/bar/35bevuz0hw5qu7ph0tis.bam DNA
Expand Down

0 comments on commit 71bd0db

Please sign in to comment.