Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Merging Griffin's changes (NCATS-Tangerine#118) * Adds support for concept identifiers in auto completion. Fixes small messup with setError message dialog in autocompletion * Adds query string parameter q/query to specify a TranQL query. Adds URL with query param to import/export interface for sharing. Fixes a couple css problems. * Adds barebones interactive shell implementation. Overhauls find tool in favor of a Elasticlunr prototype * Heavily extends on the functionality of the interactive shell. Adds intermediary prototype to shell for two-way communication. Adds basic functionality to intermediary, such as importing external modules and reading promises synchronously. * Adds rudimentary multiline capability in shell thorugh the usage of \n. Adds some functionality to the shell intermediary. * Adds an editor mode to the interactive shell for use with more complex programs * Adds program tabs to script editor * Minor changes to shell * Adds resizing to overflowing tabs in script editor. Adds python syntax highlighting to script editor * Basic (semifunctional) elasticlunr find tool searching * Adds ability to use custom functions in where clause + unit test * Ensures proper parsing of functions and lists + extends relevant units tests * Adds named/keyword arguments to functions + adds corresponding unit test * UDFs added .Refactor CustomFuntion (now CustomFunctions) * Refactoring TranQL pyodide into module * UDF format modified to be more expressive. Major refactor of App modals. A couple other things I'm forgetting * Added promise utility to TranQLApp. Added graph operations to KnowledgeGraph. Pyodide loading and stuff does not occur until the shell is opened * Quick fix to TranQLApp->render * Adds variable support to lists. Fixes bug in expand_nodes where if a concept had multiple nodes and its first node was a variable, it would only generate questions for the variable * Adds ability to use vars as function arguments * Fixes commit to wrong branch * Adds promise wrapper to pyodide_module * adds (semi-functoinal) manifest for pip and reverts change to tranql_ast expand_nodes for now * Removes interactive shell/pyodide * Changes find tool to expand tokens for better results * Lots of changes to find tool * adds highlighting to find tool * Remove context menu & add hover styles to find tool * Adds github pages? * test pages * Adds more to pages * Hopefully fixes pages theme * Adds things to GitHub pages * Adds example notebook directly into pages * Adds UDFs info/comments & more functions * Adds example docs to GitHub Pages. Adds __init__.py to tranql which never got committed * Adds function docs to GitHub Pages * Fixes error modal typo * Adds history viewer prototype. Might be better to just sort cache viewer by timestamp. * Adds ONTO sibling function * Adds comment for failing unit test documenting a known bug which the test aims to prevent * Changes expand_nodes to fix bug/unit test (NCATS-Tangerine#122). * Set theme jekyll-theme-time-machine * Adds documentation on how to add a function in udfs.py * Set theme jekyll-theme-cayman * Adds documentation on how to add a function in udfs.py. Changes jekyll theme in config back to just-the-docs * Fixes some issues with the find tool. Comments out the history viewer. Co-authored-by: frostyfan109 <urnancx@gmail.com> Co-authored-by: frostyfan109 <urnansupersux@gmail.com> Co-authored-by: frostyfan109 <31631417+frostyfan109@users.noreply.github.com> * when using schema the expand nodes function fails to set starting nodes, and hence causing all graph grabbing, this was overlooked in initial merge. * Udfs functions for parents and sibilings looking up wrong keys fix * Error modal not closing properly fix * docker image version bump for new dev image * Update for planner, to fail iff no results can be found after trying all capable KPs. * docker version bump * Varnish docker image to slim debian version * Trapi updates (NCATS-Tangerine#122) * Backplane overhaul to enable centrizied of configuration and conversion between trapi versions * Backplane overhaul to enable centrizied of configuration and conversion between trapi versions * Addition of roger, update tranql frontend to talk to backplane always to ensure trapi configs are universal. Updating tests to those changes * docker image version bump * gnbr and indigo * Tests were that were using local server to use mock servers * icees update to latest bl lookup changes * update tests to match biolink:PascalConceptType in tests * Trapi 1.0 (NCATS-Tangerine#126) * Trapi 1.0 overhaul * Trapi 1.0 schema update. * update unit test files to Trapi 1.0 * Dependency corrections * Web prefix (NCATS-Tangerine#129) * adding web_prefix conf for web api * adding web_prefix conf for web api * minor version added * Convert renciorg refs to helxplatform refs. * Web prefix (NCATS-Tangerine#133) * adding web_prefix conf for web api * adding web_prefix conf for web api * minor version added * bumping plater version * Add UI conversion from TRAPI 1.0 to TRAPI 0.9. * Web prefix for UI (NCATS-Tangerine#139) * ui web prefix jinja way. and adds reasoner to redis results. * changes window.origin to window.href as root location of tranql to play well with prefixed proxy deployments. * Parameterizes docker file to support building a branch for CI/CD. Allows npm to build index file as a jinja template to web_prefix for static assets is allowed when serving from flask. (This has no effect on local development) * Update Dockerfile * Parameterizes docker file to support building a branch for CI/CD. (NCATS-Tangerine#145) - tranql app image should base off of tranql-base image that is build for a specific branch. In CI these two images are built in seq, and tranql-base for develop will checkout develop , - by default tranql-base is built for master and tranql-app will build off of tranql-base:latest. * Configure message not being called filters out important nodes. (NCATS-Tangerine#147) * skip and limit additions for cypher queries * plater lib version bump * test for skip and limit options on redis * fixes test , upgrades plater * strips / from main url (NCATS-Tangerine#154) * Adding db to schema so it shows up on UI auto complete * Refactoring merge endpoint. Using config for faster parsing instead of a new tranql object * Modify schema factory sending tranql config so its able to resolve redis password * Parsing tweaks for 1. Suggesting concepts only base on context, i.e considering start and end nodes , 2. sometimes numeric values cause errors , so tree.toString ensures that doesn't happen * merge for trapi 1.0 * test overhaul for merge and schema supporting redis * Score as summation of publication counts on each edge * score test disable * Support for max connections * fixing api test for score * Adding Makefile, Jenkinsfile, consolidated Docker, tranql src dir * Makefile and Jenkinsfile * Starting to organize & cleanup tests * Makefile * Test cleanup * Bumping version * Makefile * Testing jenkins file * Temp changing jenkins control flow * Update Dockerfile * Structural changes for simplified deployment * Jenkins and Makefile * using first message query graph fixed, now questions are also merged. * root question as query graph for merged answers when using schema on from clause . Redis timeout placed * schema to updated dynamically after redis is populated, and some tests * test for empty schema tweak * import at top * plater version bump * when grabbing trapi option, if tranql query parser does not set it, set to empty dict * Fixing merge conflicts * bump plater version * requirements to fix tests * Removing travis file * - Update requirements.txt , just the required libs - Dockerfile , need to override some conf on the chart so doing install makes dir location hard. for instance we mount tranql/conf/schema.yaml with redis server info, locating that in site-packages is hard * upgrade bmt concept model, and tests to remove chemical substance (#6) Co-authored-by: Yaphetkg <yaphetkg@renci.org> * Feature/local development (#7) * upgrade bmt concept model, and tests to remove chemical substance * Updates schema.yaml to be redis dependent. Adds make commands for local development * Make schema.yaml path configurable via env var Co-authored-by: Yaphetkg <yaphetkg@renci.org> * Update _version.py Co-authored-by: frostyfan109 <urnancx@gmail.com> Co-authored-by: frostyfan109 <urnansupersux@gmail.com> Co-authored-by: frostyfan109 <31631417+frostyfan109@users.noreply.github.com> Co-authored-by: yaphetkg <kebedey@renci.com> Co-authored-by: Chuck Bennett <cnbennett3@gmail.com> Co-authored-by: cnbennett3 <53792237+cnbennett3@users.noreply.github.com> Co-authored-by: Steven <scox@renci.org> Co-authored-by: Carl Schreep <schreepc@renci.org> Co-authored-by: Yaphetkg <yaphetkg@renci.org> Co-authored-by: Carl Schreep <cschreep@users.noreply.github.com>
- Loading branch information