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
I am just wondering if it would be possible to have a small fix to the pyro.render_model() function, so that it can take a filepath instead of a filename to save the .pdf to. Right now the function removes the path from the name (not sure why):
if filename is not None:
filename = Path(filename)
suffix = filename.suffix[1:] # remove leading period from suffix
graph.render(filename.stem, view=False, cleanup=True, format=suffix)
Thanks!
The text was updated successfully, but these errors were encountered:
Hi!
I am just wondering if it would be possible to have a small fix to the pyro.render_model() function, so that it can take a filepath instead of a filename to save the .pdf to. Right now the function removes the path from the name (not sure why):
Thanks!
The text was updated successfully, but these errors were encountered: