Commit 70bad368 authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

h5Tool fix dos rescale

parent 0325e9f7
Pipeline #37628 failed with stages
in 75 minutes and 4 seconds
......@@ -5,7 +5,7 @@ baseName=${baseName:-toRename-}
targetDir=${targetDir:---target-dir=/normalized/productionH5-patched}
globPattern=${globPattern:-??}
renames=${renames:---renames=/app/meta-values-replacements.txt}
cmdArgs=${cmdArgs:-rename $renames $targetDir --source-paths-file=\$f}
cmdArgs=${cmdArgs:-rename --fixes $renames $targetDir --source-paths-file=\$f}
if [ -e /config.sh ] ; then
source /config.sh
......
......@@ -245,7 +245,7 @@ object H5Tool extends StrictLogging {
}
for (vol <- cellVol) {
val dosA = dosV.arrayValue()
for (i <- 0 to (dosA.getSize.toInt)) {
for (i <- 0 until (dosA.getSize.toInt)) {
dosA.setDouble(i, dosA.getDouble(i) / vol)
}
val dosT = dosV.table
......
......@@ -1696,9 +1696,7 @@ lazy val h5Tool = (project in file("archive/h5-tool")).
add(artifact, artifactTargetPath)
entryPoint("java", "-Djava.library.path=/lib", "-jar", artifactTargetPath)
}
},
javaOptions += ("-Djava.library.path=" + (baseDirectory.value / "../hdf5/hdf5-support/lib").getCanonicalFile().toString())
)
})
lazy val archiveWebservice = (project in file("archive/archive-webservice")).
dependsOn(core).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment