Skip to content

Commit

Permalink
fix: PlotContours
Browse files Browse the repository at this point in the history
update direction for anatomical plots
  • Loading branch information
eilidhmacnicol authored and oesteban committed Mar 10, 2023
1 parent 61d0ede commit d3608d5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mriqc/workflows/anatomical.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ def individual_reports(name="ReportsWorkflow"):

plot_segm = pe.Node(
PlotContours(
display_mode="z",
display_mode="y" if config.workflow.species.lower() == "rat" else "z",
levels=[0.5, 1.5, 2.5],
cut_coords=10,
colors=["r", "g", "b"],
Expand All @@ -594,7 +594,7 @@ def individual_reports(name="ReportsWorkflow"):

plot_bmask = pe.Node(
PlotContours(
display_mode="z",
display_mode="y" if config.workflow.species.lower() == "rat" else "z",
levels=[0.5],
colors=["r"],
cut_coords=10,
Expand All @@ -604,7 +604,7 @@ def individual_reports(name="ReportsWorkflow"):
)
plot_airmask = pe.Node(
PlotContours(
display_mode="x",
display_mode="y" if config.workflow.species.lower() == "rat" else "x",
levels=[0.5],
colors=["r"],
cut_coords=6,
Expand All @@ -614,7 +614,7 @@ def individual_reports(name="ReportsWorkflow"):
)
plot_headmask = pe.Node(
PlotContours(
display_mode="x",
display_mode="y" if config.workflow.species.lower() == "rat" else "x",
levels=[0.5],
colors=["r"],
cut_coords=6,
Expand All @@ -624,7 +624,7 @@ def individual_reports(name="ReportsWorkflow"):
)
plot_artmask = pe.Node(
PlotContours(
display_mode="z",
display_mode="y" if config.workflow.species.lower() == "rat" else "z",
levels=[0.5],
colors=["r"],
cut_coords=10,
Expand Down

0 comments on commit d3608d5

Please sign in to comment.