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'm trying to put default images under a local folder imgs/ (the path exists). When I follow the documentation and set it in ascent_options.json, every works as expected.
{
"default_dir" : "/path/to/output/dir"
}
However, when I tried to hard code it into the interface with the folllowing line (copied from test/t_ascent_runtime_options.cpp), the images are saved to pwd instead of $pwd/imgs
ascent_opts["default_dir"] = "imgs";
When doing this test, I make sure there is no ascent_options.json and ascent_options.yaml in my current folder.
I do see an error when the default_dir does not exist, meaning it's indeed checking the path. And, at the end, the ascent_session.yaml is indeed saved under imgs/. For some reason, only the images do not honor the default_dir. My image_prefix: "q_%06d" is not using an absolute path.
I'm using the commit 6d1ca3f
Can someone confirm whether there's a bug?
Thanks,
Yu-Hsiang
The text was updated successfully, but these errors were encountered:
yslan
changed the title
images no saved under default_dir
images not saved under default_dir
May 10, 2024
Hi @yslan, so far I have not been able to duplicate what you are experiencing. I can, however, create this bug when I use image_name rather than image_prefix and have a fix in #1295.
Hi,
I'm trying to put default images under a local folder
imgs/
(the path exists). When I follow the documentation and set it inascent_options.json
, every works as expected.However, when I tried to hard code it into the interface with the folllowing line (copied from
test/t_ascent_runtime_options.cpp
), the images are saved topwd
instead of$pwd/imgs
When doing this test, I make sure there is no
ascent_options.json
andascent_options.yaml
in my current folder.I do see an error when the
default_dir
does not exist, meaning it's indeed checking the path. And, at the end, theascent_session.yaml
is indeed saved underimgs/
. For some reason, only the images do not honor thedefault_dir
. Myimage_prefix: "q_%06d"
is not using an absolute path.I'm using the commit 6d1ca3f
Can someone confirm whether there's a bug?
Thanks,
Yu-Hsiang
The text was updated successfully, but these errors were encountered: