
We'd like to use a consistent checksum scheme everywhere so that we can: a) incorporate archive checksums into our specs and have a consistent hashing algorithm across all specs. b) index mirrors with a consistent type of checksum, and not one that is dependent on how spack packages are written. - [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
29 lines
1.3 KiB
Python
29 lines
1.3 KiB
Python
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack import *
|
|
|
|
|
|
class RPtw(RPackage):
|
|
"""Parametric Time Warping aligns patterns, i.e. it aims to put
|
|
corresponding features at the same locations. The algorithm
|
|
searches for an optimal polynomial describing the warping. It is
|
|
possible to align one sample to a reference, several samples to
|
|
the same reference, or several samples to several references.
|
|
One can choose between calculating individual warpings, or one
|
|
global warping for a set of samples and one reference. Two
|
|
optimization criteria are implemented: RMS (Root Mean Square
|
|
error) and WCC (Weighted Cross Correlation). Both warping of
|
|
peak profiles and of peak lists are supported."""
|
|
|
|
homepage = "https://cloud.r-project.org/package=ptw"
|
|
url = "https://cloud.r-project.org/src/contrib/ptw_1.9-12.tar.gz"
|
|
list_url = "https://cloud.r-project.org/src/contrib/Archive/ptw"
|
|
|
|
version('1.9-13', sha256='7855e74a167db3d3eba9df9d9c3daa25d7cf487cbcfe8b095f16d96eba862f46')
|
|
version('1.9-12', sha256='cdb1752e04e661e379f11867b0a17e2177e9ee647c54bbcc37d39d6b8c062b84')
|
|
|
|
depends_on('r-nloptr', type=('build', 'run'))
|