Skip to content

Commit

Permalink
"in" to "not in"
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlKCarlK committed Jan 3, 2024
1 parent c0c6c0e commit 8329c59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bed_reader/tests/test_open_bed_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ def load_aws_credentials(profile_name="default"):
config = configparser.ConfigParser()
config.read(aws_credentials_file)

if profile_name in config:
if profile_name not in config:
return None

credentials = config[profile_name]
Expand All @@ -953,7 +953,7 @@ def test_s3(shared_datadir):

# file url
# cmk is the 3rd "///" only for Windows? test on linux
file = "file:///" + str(file.as_posix())
file = "file://" + str(file.as_posix())
with open_bed(file) as bed:
val = bed.read(dtype="int8")
assert val.shape == (500, 10_000)
Expand Down

0 comments on commit 8329c59

Please sign in to comment.