Skip to content

Commit

Permalink
Production version
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorrell committed Feb 19, 2019
1 parent b579c96 commit 794d64f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ames/harvesters/caltechdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def get_caltechdata(collection,production=True,datacite=False):
hits = response.json()

print("Saving Records")

for h in hits['hits']['hits']:
rid = str(h['id'])
print(rid)
Expand Down
4 changes: 2 additions & 2 deletions run_caltechdata_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

token = os.environ['TINDTOK']

production = False
collection = 'caltechdata-test.ds'
production = True
collection = 'caltechdata.ds'

get_caltechdata(collection,production)
add_citation(collection,token,production)

0 comments on commit 794d64f

Please sign in to comment.