diff options
author | Munyoki Kilyungi | 2023-01-17 10:53:25 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-01-20 15:02:46 +0300 |
commit | ad84b1a142d928b3457f36c9eae3c087f13f067d (patch) | |
tree | a1d791955b6c07d0898941d750d5fa15d301bf88 /scripts | |
parent | 77ed8f6a380aa274fb7fd8b9607bc6994bae845f (diff) | |
download | genenetwork2-ad84b1a142d928b3457f36c9eae3c087f13f067d.tar.gz |
Remove hard-coded values
* scripts/sampledata.py (dump_sample_data): Remove hard-coded values
for trait_id and dataset_name.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/sampledata.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/sampledata.py b/scripts/sampledata.py index 3b26dead..411ec2b4 100644 --- a/scripts/sampledata.py +++ b/scripts/sampledata.py @@ -29,8 +29,8 @@ def dump_sample_data(dataset_name, trait_id): data = show_trait.ShowTrait( cursor, user_id=None, kw={ - "trait_id": "10007", - "dataset": "BXDPublish", + "trait_id": trait_id, + "dataset": dataset_name } ) attributes = data.js_data.get("attributes") |