Skip to content

Commit

Permalink
Fixing beam location save ID for data imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Nemere committed Mar 26, 2024
1 parent af7fdf7 commit 7375ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/dataimport/internal/output/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ func (s *PIXLISEDataSaver) Save(
if beamVer < 1 {
beamVer = 1
}
err := beamLocation.ImportBeamLocationToDB(imgItem.Image, data.Instrument, data.DatasetID, beamVer, idx, &exp, db, jobLog)
err := beamLocation.ImportBeamLocationToDB(path.Join(data.DatasetID, imgItem.Image), data.Instrument, data.DatasetID, beamVer, idx, &exp, db, jobLog)
if err != nil {
return fmt.Errorf("Failed to import beam locations for image %v into DB. Error: %v", imgItem.Image, err)
}
Expand Down

0 comments on commit 7375ea5

Please sign in to comment.