You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to create multiple galleries, I can set example_dirs and gallery_dirs to be lists, but I don't seem to be able to set filename_pattern to a list (which would allow me to set a different pattern for each of the galleries). When I try, I get the error:
Exception occurred:
File "/Users/sosborne/miniconda3/envs/astroconda/lib/python3.6/re.py", line 289, in _compile
p, loc = _cache[type(pattern), pattern, flags]
TypeError: unhashable type: 'list'
The full traceback has been saved in /var/folders/2c/0tbd0pkx6914vm8v2dvp2s3h0001jg/T/sphinx-err-gykhtvce.log, if you want to report the issue to the developers.
Is there a workaround / plan to make this possible?
The text was updated successfully, but these errors were encountered:
Nobody has thought of this that I know of. I have no problem with making this entry a str or list-like (tuple or list), where the str effectively (currently) gets promoted to [filename_pattern] * n_galleries. I don't think it would be too much work to code.
Let's wait a couple of days to see what others think, and if nobody objects, do you want to try doing it with a PR?
When trying to create multiple galleries, I can set
example_dirs
andgallery_dirs
to be lists, but I don't seem to be able to setfilename_pattern
to a list (which would allow me to set a different pattern for each of the galleries). When I try, I get the error:Is there a workaround / plan to make this possible?
The text was updated successfully, but these errors were encountered: