Skip to content

Commit

Permalink
Integrate physutils changes
Browse files Browse the repository at this point in the history
  • Loading branch information
me-pic committed Oct 26, 2024
1 parent 9d15abd commit a71a745
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions phys2denoise/tests/test_tasks_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import numpy as np
from loguru import logger
from physutils import physio
from physutils.tasks import transform_to_physio
from physutils.tasks import generate_physio
from pydra import Submitter, Workflow

import phys2denoise.tasks as tasks
Expand All @@ -31,8 +31,8 @@ def test_integration(fake_phys):
phys=physio_file,
)
wf.add(
transform_to_physio(
name="transform_to_physio",
generate_physio(
name="generate_physio",
input_file=wf.lzin.phys,
fs=wf.lzin.fs,
mode="physio",
Expand All @@ -41,7 +41,7 @@ def test_integration(fake_phys):
wf.add(
tasks.compute_metrics(
name="compute_metrics",
phys=wf.transform_to_physio.lzout.out,
phys=wf.generate_physio.lzout.out,
metrics=[
"respiratory_variance",
"respiratory_variance_time",
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ install_requires =
duecredit
loguru
pydra
# re-constrain version before merging to master
physutils
physutils ==0.3.0
tests_require =
pytest >=5.3
test_suite = pytest
Expand Down

0 comments on commit a71a745

Please sign in to comment.