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
commita3a59a6c4aae5f5543858a526f73d7f16599477c (patch)
tree6a173bb198293c8f3387a66c9d5b6e7ff362b038 /scripts
parentb8a90917c5fb5481faeebad05171ecd5cd4b7da8 (diff)
downloadIshtar-a3a59a6c4aae5f5543858a526f73d7f16599477c.tar.bz2
Ishtar-a3a59a6c4aae5f5543858a526f73d7f16599477c.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