[med-svn] [Git][med-team/nipype][master] 2 commits: Format properly
Nilesh Patra (@nilesh)
gitlab at salsa.debian.org
Tue Aug 23 19:25:36 BST 2022
Nilesh Patra pushed to branch master at Debian Med / nipype
Commits:
1a29323e by Nilesh Patra at 2022-08-23T23:53:16+05:30
Format properly
- - - - -
53fc9fee by Nilesh Patra at 2022-08-23T18:23:43+00:00
Upload to unstable
- - - - -
2 changed files:
- debian/changelog
- debian/tests/test_sample.py
Changes:
=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-nipype (1.7.1-2) UNRELEASED; urgency=medium
+nipype (1.7.1-2) unstable; urgency=medium
* Team upload.
* d/p : Add patch to make builds reproducible
@@ -6,7 +6,7 @@ nipype (1.7.1-2) UNRELEASED; urgency=medium
Run build-time tests also as autopktests
* Update lintian-override
- -- Mohammed Bilal <mdbilal at disroot.org> Tue, 23 Aug 2022 13:39:46 +0530
+ -- Mohammed Bilal <mdbilal at disroot.org> Tue, 23 Aug 2022 18:23:37 +0000
nipype (1.7.1-1) unstable; urgency=medium
=====================================
debian/tests/test_sample.py
=====================================
@@ -8,32 +8,25 @@ def concat(a, b):
return [a, b]
def test_basic():
-
wf = Workflow('hello')
-
adder = Node(Function(input_names=['a', 'b'],
output_names=['sum'],
function=sum),
name='a_plus_b')
-
adder.inputs.a = 1
adder.inputs.b = 3
-
wf.add_nodes([adder])
-
wf.base_dir = os.getcwd()
concater = Node(Function(input_names=['a', 'b'],
output_names=['some_list'],
function=concat),
name='concat_a_b')
-
wf.connect(adder, 'sum', concater, 'a')
concater.inputs.b = 3
-
eg = wf.run()
output1_hash=list(eg.nodes())[0].result.outputs.get_hashval()[1]
output2_hash=list(eg.nodes())[1].result.outputs.get_hashval()[1]
- assert output1_hash=='9195407a28ce18c50c76467f1223e032'
- assert output2_hash=='276ae6fb5717660a46cd790655ee33d4'
+ assert output1_hash == '9195407a28ce18c50c76467f1223e032'
+ assert output2_hash == '276ae6fb5717660a46cd790655ee33d4'
View it on GitLab: https://salsa.debian.org/med-team/nipype/-/compare/5f6a2ece90cec7bf2910255b447ea2fc48587273...53fc9feefa541fc7491d35669c8175e8842e4060
--
View it on GitLab: https://salsa.debian.org/med-team/nipype/-/compare/5f6a2ece90cec7bf2910255b447ea2fc48587273...53fc9feefa541fc7491d35669c8175e8842e4060
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220823/e5f499cb/attachment-0001.htm>
More information about the debian-med-commit
mailing list