<feed xmlns='http://www.w3.org/2005/Atom'>
<title>genenetwork3/tests/unit/test_db_utils.py, branch migrate-to-python3.10</title>
<subtitle>GeneNetwork3 REST API for data science and machine learning
</subtitle>
<id>http://git.genenetwork.org/genenetwork3/atom?h=migrate-to-python3.10</id>
<link rel='self' href='http://git.genenetwork.org/genenetwork3/atom?h=migrate-to-python3.10'/>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/'/>
<updated>2023-04-06T09:43:56+00:00</updated>
<entry>
<title>Fix linting issues</title>
<updated>2023-04-06T09:43:56+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2023-04-06T09:43:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=db6457bfbcccce35162d9d2ece988c7c8c8f9308'/>
<id>urn:sha1:db6457bfbcccce35162d9d2ece988c7c8c8f9308</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove deprecated `gn3.db_utils.database_connector` function</title>
<updated>2023-04-06T09:31:05+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2023-04-06T09:31:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=17abad9300e4a96a14f94da486ef8307f7d27e06'/>
<id>urn:sha1:17abad9300e4a96a14f94da486ef8307f7d27e06</id>
<content type='text'>
Remove the deprecated function and fix a myriad of bugs that arise from
removing the function.

Issue: https://issues.genenetwork.org/issues/bugfix_coupling_current_app_and_db_utils
</content>
</entry>
<entry>
<title>tests: Set up fixture and mock out config variable</title>
<updated>2023-03-23T15:41:38+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2023-03-23T15:41:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=98e9726405df3cce81356534335259a446b0c458'/>
<id>urn:sha1:98e9726405df3cce81356534335259a446b0c458</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update test: include port in parsed data from mysql uri</title>
<updated>2022-08-30T10:54:23+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2022-08-30T10:54:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=45b9bcb015d2b563a82ac334be68a84ec28d0f8c'/>
<id>urn:sha1:45b9bcb015d2b563a82ac334be68a84ec28d0f8c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix some linting issues</title>
<updated>2022-03-11T08:51:02+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2022-03-11T08:51:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=9691e225724e041997c74f8665dcbfa12bb1c579'/>
<id>urn:sha1:9691e225724e041997c74f8665dcbfa12bb1c579</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix tests, and issues caught by tests</title>
<updated>2022-03-08T05:07:38+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2022-03-08T05:07:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=e30f9a9b746f7dcdc8707e66cc65e580e6f83f47'/>
<id>urn:sha1:e30f9a9b746f7dcdc8707e66cc65e580e6f83f47</id>
<content type='text'>
Fix some issues caught by tests due to changes introducing the hand-off of the
partial correlations computations to an external process

Fix some issues due to the changes that introduce context managers for
database connections

Update some tests to take the above two changes into consideration
</content>
</entry>
<entry>
<title>Fix a myriad of linter issues</title>
<updated>2022-02-21T13:23:06+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2022-02-21T13:23:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=a35fce27875d9db80dce1976b6f8ee8c00ecfe0a'/>
<id>urn:sha1:a35fce27875d9db80dce1976b6f8ee8c00ecfe0a</id>
<content type='text'>
* Use `with` in place of plain `open`
* Use f-strings in place of `str.format()`
* Remove string interpolation from queries - provide data as query parameters
* other minor fixes
</content>
</entry>
<entry>
<title>Use pytest's "mark" feature to categorise tests</title>
<updated>2022-02-17T03:37:30+00:00</updated>
<author>
<name>Frederick Muriuki Muriithi</name>
</author>
<published>2022-02-14T03:56:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=74044f3c7985308b4996da3a52f91c5c20a19194'/>
<id>urn:sha1:74044f3c7985308b4996da3a52f91c5c20a19194</id>
<content type='text'>
Use pytest's `mark` feature to explicitly categorise the tests and run them
per category
</content>
</entry>
<entry>
<title>Integrate correlation API</title>
<updated>2021-04-12T06:54:12+00:00</updated>
<author>
<name>Alexander Kabui</name>
</author>
<published>2021-04-12T06:54:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/genenetwork3/commit/?id=31ac939f58bf7b6d353ced995ca395376203b25f'/>
<id>urn:sha1:31ac939f58bf7b6d353ced995ca395376203b25f</id>
<content type='text'>
- add new api for gn2-gn3 sample r integration
- delete map for sample list to values
- add db util file
- add python msql-client dependency
- add db for fetching lit correlation results
- add unittests for db utils
- add tests for db_utils
- modify api for fetching lit correlation results
- refactor Mock Database Connector and unittests
- add sql url parser
- add SQL URI env variable
- refactor code for db utils
- modify return data for lit correlation
- refactor tissue correlation endpoint
- replace db_instance with conn</content>
</entry>
</feed>
