This new api needs -DINTERACTIVE_MODE=ON. It is a file-based interactive prompt, such that user creates specific file name to send instructions to libyt.
Start reloading script when <flag_file_name> file is detected, or an error occurred when running inline functions.
libyt starts reloading the script <script_name> if <reload_file_name> file is detected, and it exits the API if <reload_file_name>_EXIT file is detected.
Outputs will be printed in <reload_file_name>_SUCCESS or <reload_file_name>_FAILED.
Enhancement
Compile option -DINTERACTIVE_MODE and -DJUPYTER_KERNEL are independent to each other.
It seems like Perfetto has changed how it loads json file. Previously, it will append ]} at the end of libyt profile log file, but now it won't. Update doc to remind user this.
libyt.libyt_info no contains keys "SERIAL_MODE"/"INTERACTIVE_MODE"/"JUPYTER_KERNEL"/"SUPPORT_TIMER" to show the options used when compiling libyt.
Change
Remove Makefile, libyt no longer supports make. From now on, it uses cmake to compile only.
yt_run_InteractiveMode now only enters Python prompt when it detects flagged flag.
Reload Script API and Other MISC Fix
New API --
yt_run_ReloadScript
This new api needs
-DINTERACTIVE_MODE=ON
. It is a file-based interactive prompt, such that user creates specific file name to send instructions tolibyt
.<flag_file_name>
file is detected, or an error occurred when running inline functions.libyt
starts reloading the script<script_name>
if<reload_file_name>
file is detected, and it exits the API if<reload_file_name>_EXIT
file is detected.<reload_file_name>_SUCCESS
or<reload_file_name>_FAILED
.Enhancement
-DINTERACTIVE_MODE
and-DJUPYTER_KERNEL
are independent to each other.]}
at the end of libyt profile log file, but now it won't. Update doc to remind user this.libyt.libyt_info
no contains keys"SERIAL_MODE"
/"INTERACTIVE_MODE"
/"JUPYTER_KERNEL"
/"SUPPORT_TIMER"
to show the options used when compilinglibyt
.Change
Makefile
,libyt
no longer supports make. From now on, it usescmake
to compile only.yt_run_InteractiveMode
now only enters Python prompt when it detects flagged flag.