The gmrecords assemble subcommand currently gets the events as a list of ScalarEvent. However, it passes only the event id to the routine that assembles the event. This means that when we assemble the event, the function must fetch the event information from ComCat.
Expected behavior
Pass the ScalarEvent object to the assemble command rather than just the event id.
Describe the bug
The
gmrecords assemble
subcommand currently gets the events as alist
ofScalarEvent
. However, it passes only the eventid
to the routine that assembles the event. This means that when we assemble the event, the function must fetch the event information from ComCat.Expected behavior
Pass the
ScalarEvent
object to the assemble command rather than just the eventid
.