Skip to content

Commit

Permalink
address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rpiaggio committed Oct 30, 2024
1 parent db0481a commit 54a6f77
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions explore/src/clue/scala/queries/common/ObsQueriesGQL.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ object ObsQueriesGQL:
@GraphQL
trait SequenceOffsets extends GraphQLOperation[ObservationDB]:
val document = s"""
fragment stepData on GmosNorthStep {
fragment stepDataGN on GmosNorthStep {
id
telescopeConfig {
offset $OffsetSubquery
}
}

fragment stepDataGS on GmosSouthStep {
id
telescopeConfig {
offset $OffsetSubquery
Expand All @@ -44,24 +51,24 @@ object ObsQueriesGQL:
acquisition {
nextAtom {
steps {
...stepData
...stepDataGS
}
}
possibleFuture {
steps {
...stepData
...stepDataGS
}
}
}
science {
nextAtom {
steps {
...stepData
...stepDataGS
}
}
possibleFuture {
steps {
...stepData
...stepDataGS
}
}
}
Expand All @@ -70,24 +77,24 @@ object ObsQueriesGQL:
acquisition {
nextAtom {
steps {
...stepData
...stepDataGN
}
}
possibleFuture {
steps {
...stepData
...stepDataGN
}
}
}
science {
nextAtom {
steps {
...stepData
...stepDataGN
}
}
possibleFuture {
steps {
...stepData
...stepDataGN
}
}
}
Expand Down

0 comments on commit 54a6f77

Please sign in to comment.