Run normalization for Abstra and Pathways VS use_normalized_graph parameter
AFAIK:
- Graph normalization has been moved (from Abstra itself) to CL, so that all projects can work on the normalized graph
- Abstra and Pathways both need to work on a normalized graph
- In Studio, we may:
- Run Abstra and Pathways
- query (with kwsearch or the Data View) the original and/or the normalized graph
- for this, we introduced the parameter
use_normlized_graph
(that will be controllable soon in the Studio). This parameter has also been introduced in Pathways, Abstra and CL.
- for this, we introduced the parameter
- In CL, the class
ConnectionLens
:- holds two (Relational) graphs: the original and the normalized one.
- create the normalized graph based on whether
use_normlized_graph
is true or false.
- In Abstra and PathWays, I need to set
use_normlized_graph=true
to have a non-empty normalized graph after data loading and before abstraction, resp. path enumeration.
In the Studio, we need to:
- be able to run Abstra and Pathways, i.e., create the normalized graph within CL from the data + run Abstra or Pathways
- be able to query both the original and normalized graph.
However, for now, use_normlized_graph
needs to be set to true
to create the normalized graph. But, recall that we may also want it to be false when we want to query the original graph in kwsearch or Data View.
Thus, I think, for my personal case of running Abstra and Pathways in studio, I need to set use_normlized_graph=true
using config.setParameter(...)
before running Abstra, resp. Pathways.
However, I don't know how this will work with the kwsearch and Data view pages. Will this create a normalized graph each time we run a query?
@mmohanty is the one who know best this parameter for now I think. Any advice is welcome