Commit 442c03d0 authored by Jeff Thiessen's avatar Jeff Thiessen

fix whitespace merge conflicts

parents a16b31f2 d119f6f1
Pipeline #7015 passed with stage
in 47 minutes and 23 seconds
......@@ -221,8 +221,8 @@ class ApiCalls(object):
resources_list = response.json()["resource"]["resources"]
try:
links_list = next(r["links"] for r in resources_list
if r[targ_dict["key"]] ==
targ_dict["value"])
if r[targ_dict["key"]].lower() ==
targ_dict["value"].lower())
except KeyError:
raise KeyError(targ_dict["key"] + " not found." +
......
......@@ -20,7 +20,7 @@ def sample_exists(api, sample):
sample_list = api.get_samples(sample=sample)
if any([s.get_id() == sample.get_id() for s in sample_list]):
if any([s.get_id().lower() == sample.get_id().lower() for s in sample_list]):
return True
else:
return False
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment