summaryrefslogtreecommitdiff
path: root/issues/sample-data-not-appearing-in-phenotype-editing-page.gmi
blob: 99536d2c5127889c46d565327010fe1dcf466d0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Sample Data not Appearing in Phenotype-Editing Page

## Tags

* assigned: fredm
* priority: urgent
* type: bug
* keywords: editing, phenotype, phenotype editing
* status: closed

## Description

On clicking the "Edit" button in the traits' page (/show_trait?...), the sample data is supposed to appear at the bottom of the page for editing. This is not happening locally.

## Troubleshooting

=> https://github.com/genenetwork/genenetwork2/blob/f8263ccb64daa5cbeeb0b1d7da3605f825e8acb6/wqflask/wqflask/metadata_edits.py#L132 Line 132 of metadata_edits.py module
gives back an empty `sample_list`

The code was fetching the configurations from the environment, which is not always set. Change the code to fetch configurations from the application object.