aboutsummaryrefslogtreecommitdiff
path: root/gn2/base/data_set
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/base/data_set')
-rw-r--r--gn2/base/data_set/dataset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/base/data_set/dataset.py b/gn2/base/data_set/dataset.py
index 3a62fbde..1b1cf9ac 100644
--- a/gn2/base/data_set/dataset.py
+++ b/gn2/base/data_set/dataset.py
@@ -44,7 +44,7 @@ class DataSet:
self.retrieve_other_names()
# sets self.group and self.group_id and gets genotype
self.group = DatasetGroup(self)
- self.accession_id = self.get_accession_id()
+ self.accession_id = self.get_accession_id().value
if get_samplelist == True:
self.group.get_samplelist(redis_conn)
self.species = species.TheSpecies(dataset=self)