Hi,
I am trying to use the semi-automated atlas pipeline in subcortex_visualization. The mesh-generation step appears to work correctly. The script successfully parses the lookup table and saves the meshes. However, the script fails during the SVG-generation step when calling plot_subcortical():
TypeError: plot_subcortical() got an unexpected keyword argument 'plot_regions_separately'
The relevant call in automate_create_meshes_and_SVGs.py is:
plot_subcortical(
custom_atlas_path=mesh_path,
views=views,
cmap=cmap,
figsize=figsize,
bmesh_alpha=bmesh_alpha,
style=style,
zoom=zoom,
plot_regions_separately=True,
export_path=export_path
)
I am using yabplot==0.5.0. In this version, plot_subcortical() does not seem to have the argument plot_regions_separately. Also, yabplot.plotting does not seem to expose get_base_name, although the pipeline imports it with: from yabplot.plotting import get_base_name, plot_subcortical.
I also tried checking other available yabplot versions, but I could not find one where both get_base_name and plot_regions_separately are available.
Could you let me know which yabplot version was used when this pipeline was developed/tested? Alternatively, should the pipeline now be updated to work with the current yabplot API?
Thank you very much in advance!
Hi,
I am trying to use the semi-automated atlas pipeline in
subcortex_visualization. The mesh-generation step appears to work correctly. The script successfully parses the lookup table and saves the meshes. However, the script fails during the SVG-generation step when calling plot_subcortical():TypeError: plot_subcortical() got an unexpected keyword argument 'plot_regions_separately'The relevant call in
automate_create_meshes_and_SVGs.pyis:I am using
yabplot==0.5.0. In this version,plot_subcortical()does not seem to have the argumentplot_regions_separately. Also,yabplot.plottingdoes not seem to exposeget_base_name, although the pipeline imports it with:from yabplot.plotting import get_base_name, plot_subcortical.I also tried checking other available
yabplotversions, but I could not find one where bothget_base_nameandplot_regions_separatelyare available.Could you let me know which yabplot version was used when this pipeline was developed/tested? Alternatively, should the pipeline now be updated to work with the current yabplot API?
Thank you very much in advance!