[no commit message]

This commit is contained in:
darksnake 2016-04-17 15:24:16 +03:00
parent d67a74ccd0
commit 441e8a1a3a
2 changed files with 8 additions and 2 deletions

View File

@ -184,9 +184,15 @@ public class NumassDataLoader extends AbstractLoader implements ObjectLoader<Env
// LocalDateTime startTime = envelope.meta().get
double u = envelope.meta().getDouble("external_meta.HV1_value", 0);
double pointTime;
if(envelope.meta().hasValue("external_meta.acquisition_time")){
pointTime = envelope.meta().getValue("external_meta.acquisition_time").doubleValue();
} else {
pointTime = envelope.meta().getValue("acquisition_time").doubleValue();
}
RawNMPoint raw = new RawNMPoint(u, u,
events,
envelope.meta().getValue("external_meta.acquisition_time").doubleValue(),
pointTime,
readTime(envelope.meta()));
return transformation.apply(raw);

View File

@ -5,7 +5,7 @@ if (!hasProperty('mainClass')) {
}
mainClassName = mainClass
version = "0.2.4"
version = "0.2.5"
description = "The viewer for numass data"