<feed xmlns='http://www.w3.org/2005/Atom'>
<title>genenetwork3/gn3/responses, branch auth/implement-authorization-code-flow</title>
<subtitle>GeneNetwork3 REST API for data science and machine learning
</subtitle>
<id>http://git.genenetwork.org/genenetwork3/atom?h=auth%2Fimplement-authorization-code-flow</id>
<link rel='self' href='http://git.genenetwork.org/genenetwork3/atom?h=auth%2Fimplement-authorization-code-flow'/>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/'/>
<updated>2022-03-03T07:20:04+00:00</updated>
<entry>
<title>Run partial correlations in an external process</title>
<updated>2022-03-03T07:20:04+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2022-02-23T11:51:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=6d39c92fbc9a7b82cd8eef60c62cd5d83acb49a1'/>
<id>urn:sha1:6d39c92fbc9a7b82cd8eef60c62cd5d83acb49a1</id>
<content type='text'>
Run the partial correlations code in an external python process decoupling it
from the server and making it asynchronous.

Summary of changes:
* gn3/api/correlation.py:
  - Remove response processing code
  - Queue partial corrs processing
  - Create new endpoint to get results
* gn3/commands.py
  - Compose the pcorrs command to be run in an external process
  - Enable running of subprocess commands with list args
* gn3/responses/__init__.py: new module indicator file
* gn3/responses/pcorrs_responses.py: Hold response processing code extracted
  from ~gn3.api.correlations.py~ file
* scripts/partial_correlations.py: CLI script to process the pcorrs
* sheepdog/worker.py:
  - Add the *genenetwork3* path at the beginning of the ~sys.path~ list to
    override any GN3 in the site-packages
  - Add any environment variables to be set for the command to be run
</content>
</entry>
</feed>
