changed gen plot function in bioactivities views to only return an http response to avoid 500 error, graph is still not displayed due to undefined data