Commit Graph
22 Commits
Author SHA1 Message Date
Alok Saldanha 5a650334df #81 moved gene set check into fileitem_source 2023-07-06 08:18:50 -06:00
george-hall-ucl 81c8ce4219 #81 Add support for gene sets
This adds the flag `GATEWAY_ENABLE_GENE_SETS` to enable support for gene
sets.  To simplify implementation, activating this flag also activates
`GATEWAY_ENABLE_ANNOTATIONS`.  The gene sets are saved in a file that
has the same name as the annotations `csv` but with `_gene_sets`
appended to the file name (before the extension).  This file is hidden
in filecrawler, and the gene sets are loaded when the associated
annotations file is loaded.

If the annotations file is missing, then an Exception is raised.

I have updated one unit test to make it expect
`--disable-gene-sets-save` in the default case (i.e. if
`GATEWAY_ENABLE_ANNOTATIONS = 0`).  All units tests pass.

I have updated the README to document `GATEWAY_ENABLE_GENE_SETS`.
2023-07-06 07:59:12 -06:00
Alok Saldanha 073f5f945c #57 changed logic to take last path element 2021-12-21 12:05:01 -05:00
Alok Saldanha d072034911 #45 pass filter into scan_directory
also include filterpart in heading
2021-04-20 06:03:16 -04:00
Alok Saldanha 5c488d8d5e only include source path element in url when multiple sources 2021-04-02 11:40:11 -04:00
Alok Saldanha 76f3939fdd rebased "Introduction of ItemSource interface" patch 2021-03-28 22:05:08 -04:00
Alok Saldanha 5404a8b0f3 removed trailing slash from render_annotations 2021-03-28 21:59:03 -04:00
Alok Saldanha f1f4b0c0ca added environment variables for ProxyFix 2021-02-13 16:42:34 -05:00
Alok Saldanha 01dccef7db added back trailing slash to url_for change 2021-02-13 16:41:32 -05:00
Gregor Sturm 8c5a635de9 Use url_for in all templates 2021-01-18 19:47:18 +01:00
Gregor Sturm 068e8f7633 Fix url_for 2021-01-18 18:09:45 +01:00
Gregor Sturm 16b54f9409 Use url_for to generate URLs 2021-01-18 16:59:15 +01:00
David Feinzeig 0b866a46ec add missing trailing slash in effort to avoid whatever is redirecting 2020-10-23 17:41:05 -04:00
Alok Saldanha bfa80f7ef8 #22 blackened code 2020-08-10 17:56:32 -04:00
Alok Saldanha bf221309d8 Merge branch for 0.1.0 release into master 2020-06-11 10:47:43 -04:00
Alok Saldanha 3ea5c29265 Added missing license notifications 2020-06-11 09:58:16 -04:00
Alokito 7c7fa5f12a Use all_entries in cellxgene_gateway/filecrawl.py 2020-05-17 14:57:20 -04:00
Gervaise H. Henry eb4693f1fa Sort os.listdir in filecrawler.py 2020-05-17 14:57:20 -04:00
Alok Saldanha cc09ac3b95 #14 fixed links in folder listings 2020-01-18 08:06:38 -05:00
Alok Saldanha 201f876341 #14 added custom method to create data dirs 2020-01-01 01:24:18 -05:00
Alok Saldanha 736541c4ec #14 Added support for listing files with _ or - as separator 2019-12-28 22:18:54 -05:00
Alok Saldanha c03098af17 #14 enabled new annotations
Due to issue with opening annotation files with "-" in the name, this doesn't quite work.
2019-12-28 21:55:43 -05:00