Skip to content

Commit a71a745

Browse files
committed
Integrate physutils changes
1 parent 9d15abd commit a71a745

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

phys2denoise/tests/test_tasks_integration.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import numpy as np
77
from loguru import logger
88
from physutils import physio
9-
from physutils.tasks import transform_to_physio
9+
from physutils.tasks import generate_physio
1010
from pydra import Submitter, Workflow
1111

1212
import phys2denoise.tasks as tasks
@@ -31,8 +31,8 @@ def test_integration(fake_phys):
3131
phys=physio_file,
3232
)
3333
wf.add(
34-
transform_to_physio(
35-
name="transform_to_physio",
34+
generate_physio(
35+
name="generate_physio",
3636
input_file=wf.lzin.phys,
3737
fs=wf.lzin.fs,
3838
mode="physio",
@@ -41,7 +41,7 @@ def test_integration(fake_phys):
4141
wf.add(
4242
tasks.compute_metrics(
4343
name="compute_metrics",
44-
phys=wf.transform_to_physio.lzout.out,
44+
phys=wf.generate_physio.lzout.out,
4545
metrics=[
4646
"respiratory_variance",
4747
"respiratory_variance_time",

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ install_requires =
2828
duecredit
2929
loguru
3030
pydra
31-
# re-constrain version before merging to master
32-
physutils
31+
physutils ==0.3.0
3332
tests_require =
3433
pytest >=5.3
3534
test_suite = pytest

0 commit comments

Comments
 (0)