Skip to content

Commit

Permalink
(#3041) Fix external standards in export manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
squaregoldfish committed Jan 9, 2025
1 parent 7b4d771 commit e6d896c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ private static JsonObject makeManifest(Connection conn, Instrument instrument,
if (instrument.hasInternalCalibrations()) {
CalibrationSet externalStandards = ExternalStandardDB.getInstance()
.getCalibrationSet(conn, dataset);
if (!sensorCalibrations.isEmpty()) {
if (!externalStandards.isEmpty()) {
calibrations.add("externalStandards",
externalStandards.toJson(new DefaultTargetNameMapper(), false));
}
Expand Down

0 comments on commit e6d896c

Please sign in to comment.