summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-21 17:20:36 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-21 17:27:41 +0200
commit359679109b59e9789a144b00dbb9901af209d833 (patch)
tree6a173bb198293c8f3387a66c9d5b6e7ff362b038 /scripts
parent804af43c6c25f56bbe50d921ee7486f9f2b7e3ca (diff)
downloadIshtar-359679109b59e9789a144b00dbb9901af209d833.tar.bz2
Ishtar-359679109b59e9789a144b00dbb9901af209d833.zip
Remove ISHTAR_LOCAL_PREFIX and FILE_PREFIX (now managed by the profile)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/pre_import_sra_files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pre_import_sra_files.py b/scripts/pre_import_sra_files.py
index df00d3ef5..07e4db1df 100644
--- a/scripts/pre_import_sra_files.py
+++ b/scripts/pre_import_sra_files.py
@@ -47,7 +47,7 @@ def treatment(data):
yr = year
assert yr # we should absolutly have a year!
- external_id = "{}{}-{}".format(settings.ISHTAR_LOCAL_PREFIX, yr, idx)
+ external_id = "SRA{}-{}".format(yr, idx)
assert (yr, external_id) not in index_list
index_list.append((yr, external_id))
return yr, idx, external_id