Skip to content

Commit

Permalink
Match selector to other updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettjstevens committed Sep 20, 2024
1 parent db455a3 commit 14a2ada
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/apollo-cli/test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -886,8 +886,16 @@ def testFeatureChecksIndexed(self):

p = shell(f"{apollo} feature get {P} -a v1")
ff = json.loads(p.stdout)
g1 = [x for x in ff if x["gffId"] == "MyGene"][0]
g2 = [x for x in ff if x["gffId"] == "AnotherGene"][0]
g1 = [
x
for x in ff
if x["type"] == "gene" and x["attributes"]["gff_id"] == ["MyGene"]
][0]
g2 = [
x
for x in ff
if x["type"] == "gene" and x["attributes"]["gff_id"] == ["AnotherGene"]
][0]

shell(f"{apollo} feature edit-coords {P} -i {g1['_id']} -e 201")
shell(f"{apollo} feature edit-coords {P} -i {g2['_id']} -e 251")
Expand Down

0 comments on commit 14a2ada

Please sign in to comment.