Merge pull request #136487 from bcdarwin/intensity-normalization
intensity-normalization: init at 2.0.1
This commit is contained in:
commit
5a4d8e54c3
|
@ -0,0 +1,54 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, matplotlib
|
||||
, nibabel
|
||||
, numpy
|
||||
, scikit-fuzzy
|
||||
, scikitimage
|
||||
, scikit-learn
|
||||
, scipy
|
||||
, statsmodels
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "intensity-normalization";
|
||||
version = "2.0.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1c6inlhpxarvkniq8j5j2pgl32dmggn14s8c3c0xx15j7cg90413";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg --replace "pytest-runner" ""
|
||||
'';
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
pythonImportsCheck = [
|
||||
"intensity_normalization"
|
||||
"intensity_normalization.normalize"
|
||||
"intensity_normalization.plot"
|
||||
"intensity_normalization.util"
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
matplotlib
|
||||
nibabel
|
||||
numpy
|
||||
scikit-fuzzy
|
||||
scikitimage
|
||||
scikit-learn
|
||||
scipy
|
||||
statsmodels
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/jcreinhold/intensity-normalization";
|
||||
description = "MRI intensity normalization tools";
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
|
@ -12,19 +12,22 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "scikit-fuzzy";
|
||||
version = "unstable-2020-10-03";
|
||||
version = "unstable-2021-03-31";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "eecf303b701e3efacdc9b9066207ef605d4facaa";
|
||||
sha256 = "18dl0017iqwc7446hqgabhibgjwdakhmycpis6zpvvkkv4ip5062";
|
||||
rev = "92ad3c382ac19707086204ac6cdf6e81353345a7";
|
||||
sha256 = "0q89p385nsg3lymlsqm3mw6y45vgrk6w9p30igbm59b7r9mkgdj8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ networkx numpy scipy ];
|
||||
checkInputs = [ matplotlib nose pytestCheckHook ];
|
||||
|
||||
# test error: "ValueError: could not convert string to float: '2.6.2'"
|
||||
disabledTestPaths = [ "skfuzzy/control/tests/test_controlsystem.py" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/scikit-fuzzy/scikit-fuzzy";
|
||||
description = "Fuzzy logic toolkit for scientific Python";
|
||||
|
|
|
@ -2993,6 +2993,8 @@ with pkgs;
|
|||
|
||||
inklecate = callPackage ../development/compilers/inklecate {};
|
||||
|
||||
intensity-normalization = with python3Packages; toPythonApplication intensity-normalization;
|
||||
|
||||
interactsh = callPackage ../tools/misc/interactsh { };
|
||||
|
||||
interlock = callPackage ../servers/interlock {};
|
||||
|
|
|
@ -3648,6 +3648,8 @@ in {
|
|||
|
||||
intelhex = callPackage ../development/python-modules/intelhex { };
|
||||
|
||||
intensity-normalization = callPackage ../development/python-modules/intensity-normalization { };
|
||||
|
||||
internetarchive = callPackage ../development/python-modules/internetarchive { };
|
||||
|
||||
interruptingcow = callPackage ../development/python-modules/interruptingcow { };
|
||||
|
|
Loading…
Reference in a new issue