aboutsummaryrefslogtreecommitdiff
path: root/scripts/sampledata.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/sampledata.py')
-rw-r--r--scripts/sampledata.py4
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")