Skip to content

Commit

Permalink
Bugfix: __all__ in stimupy.components should be list of str
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisVincent committed Mar 15, 2023
1 parent ffea283 commit b253954
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions stimupy/components/__init__.py
Expand Up @@ -7,6 +7,23 @@
from stimupy.utils.contrast_conversions import adapt_intensity_range
from stimupy.utils.utils import round_to_vals

__all__ = [
"image_base",
"draw_regions",
"mask_elements",
"overview",
"angulars",
"checkerboards",
"circulars",
"edges",
"frames",
"gaussians",
"gratings",
"lines",
"mondrians",
"shapes",
]


def image_base(visual_size=None, shape=None, ppd=None, rotation=0.0, origin="mean"):
"""Create coordinate-arrays to serve as image base for drawing
Expand Down Expand Up @@ -752,22 +769,4 @@ def overview(mask=False, save=None, extent_key="shape"):
stims = create_overview()

# Plotting
plot_stimuli(stims, mask=mask, save=save, extent_key=extent_key)


__all__ = [
image_base,
draw_regions,
mask_elements,
angulars,
checkerboards,
circulars,
edges,
frames,
gaussians,
gratings,
lines,
mondrians,
shapes,
overview,
]
plot_stimuli(stims, mask=mask, save=save, extent_key=extent_key)

0 comments on commit b253954

Please sign in to comment.