We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a534f47 commit 8b1cd29Copy full SHA for 8b1cd29
1 file changed
refellips/dataSE.py
@@ -251,7 +251,7 @@ def refresh(self):
251
252
"""
253
if self.filename is not None:
254
- with open(self.filename) as f:
+ with possibly_open_file(self.filename) as f:
255
self.load(f)
256
257
@@ -497,7 +497,7 @@ def open_HORIBAfile(
497
linenodict = {}
498
MDingest = False
499
500
- with open(fname, "r") as f:
+ with possibly_open_file(fname, "r") as f:
501
lines = f.readlines()
502
503
for i, line in enumerate(lines):
0 commit comments