File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
from spark_prep import SparkPrep
10
10
11
11
EQTL_CATALOGUE_IMPORTED_PATH = "https://raw.githubusercontent.com/eQTL-Catalogue/eQTL-Catalogue-resources/master/tabix/tabix_ftp_paths_imported.tsv"
12
- EQTL_CATALOGUE_OUPUT_BASE = (
12
+ EQTL_CATALOGUE_OUTPUT_BASE = (
13
13
"gs://genetics_etl_python_playground/1-smart-mirror/summary_stats"
14
14
)
15
15
30
30
source_id = "eQTL_Catalogue" ,
31
31
project_id = "GTEx_V8" ,
32
32
study_id = record ["qtl_group" ],
33
- output_base_path = EQTL_CATALOGUE_OUPUT_BASE ,
33
+ output_base_path = EQTL_CATALOGUE_OUTPUT_BASE ,
34
34
)
35
35
worker .process ()
36
36
else :
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ def cast_to_bytes(x: Any) -> typing.IO[bytes]:
177
177
gzip_stream = cast_to_bytes (ResilientFetch (self .input_uri ))
178
178
bytes_stream = cast_to_bytes (gzip .GzipFile (fileobj = gzip_stream ))
179
179
self .text_stream = io .TextIOWrapper (bytes_stream )
180
- self .field_names = self .text_stream .readline ().split ("\t " )
180
+ self .field_names = self .text_stream .readline ().rstrip (). split ("\t " )
181
181
182
182
def _p1_fetch_data (self , q_out : Queue [str | None ]) -> None :
183
183
"""Fetch data from the URI in blocks.
You can’t perform that action at this time.
0 commit comments