Closed AMONCode closed 4 years ago
I've made a new command located in bin to deal with this issue. It is located in the branch test_develop
and I'll merge it to develop
once other changes have been made in that branch.
https://github.com/AMONCode/Analysis/blob/test_develop/AmonPy/bin/amon_add_event_stream_config
Just merged this into Dev.
The current code is hardcoded to add new streams. The function inside
db_base/db_write.y
calleddef write_event_config_archive(stream_num, host_name, user_name, passw_name, db_name):
is where this occurs.Need to find a way to create a new event stream without hardcoding things