-
Notifications
You must be signed in to change notification settings - Fork 1
Fix tracking pickling, add worker error reporting #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
.addConcreteType[EphemerisTracking] | ||
// Recursive class hierarchy must be built in two steps: | ||
// https://github.com/suzaku-io/boopickle/blob/master/doc/ClassHierarchies.md#recursive-composite-types | ||
given trackingPickler: CompositePickler[Tracking] = compositePickler[Tracking] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks odd, don't you get an unused pure expression warning something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WDYM?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess the next line adding the concrete types to trackigPickler
case CompositeTracking(nel) => Coordinates.centerOf(nel.map(_.baseCoordinates)) | ||
case _ => sys.error("Non sidereals are not supported") | ||
|
||
extension [F[_]: MonadThrow: Logger, A](f: F[A]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice I bet we can use these beyond explore
BundleMon (Explore)Files added (1)
Files updated (2)
Unchanged files (5)
Total files change +1.19KB +0.04% Final result: ✅ View report in BundleMon website ➡️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
explore/model/shared/src/main/scala/explore/model/extensions.scala
Outdated
Show resolved
Hide resolved
…cala Co-authored-by: Todd Burnside <tburnside@gemini.edu>
Recursive picklers must be built in 2 steps.