Skip to content

Commit 3dde9b3

Browse files
author
Adam Robbins-Pianka
committed
Add mode to call to open_file
1 parent 2d71d7d commit 3dde9b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qiita_db/metadata_template/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def load_template_to_dataframe(fn, strip_whitespace=True):
183183
"""
184184
# Load in file lines
185185
holdfile = None
186-
with open_file(fn) as f:
186+
with open_file(fn, mode='U') as f:
187187
holdfile = f.readlines()
188188
if not holdfile:
189189
raise ValueError('Empty file passed!')

0 commit comments

Comments
 (0)