Commit 086255b7 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Minor linting.

parent 2965e2aa
......@@ -18,6 +18,7 @@ import shutil
import json
import os
import os.path
from bravado.exception import HTTPBadRequest
from nomad import utils, processing as proc, search, config, files, infrastructure
......@@ -123,7 +124,7 @@ def mirror(
continue
except KeyError:
pass
try:
upload_data = client.mirror.get_upload_mirror(upload_id=upload_id).response().result
n_calcs = len(upload_data.calcs)
......
......@@ -68,17 +68,24 @@ content-type: application/json
###
# Search migration unpublished calcs
GET http://localhost:19200/fairdi_nomad_migration/_search HTTP/1.1
GET http://localhost:19200/fairdi_nomad_prod/_search HTTP/1.1
Content-Type: application/json
{
"size": 0,
"query": {
"bool": {
"must_not": {
"exists": {
"field": "upload_time"
}
}
}
},
"aggs": {
"timeline": {
"date_histogram" : {
"field" : "upload_time",
"interval": "1M",
"format" : "yyyy-MM-dd"
"upload_id": {
"terms": {
"field": "upload_id"
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment