Skip to content

Commit

Permalink
Merge pull request #196 from pixlise/feature/v4-post-release-fixes
Browse files Browse the repository at this point in the history
Fixing beam location save ID for data imports
  • Loading branch information
pnemere authored Mar 26, 2024
2 parents 93d2833 + 7375ea5 commit 430db90
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 430db90

Please sign in to comment.