Commit c0084d2b authored by Vilem Ded's avatar Vilem Ded
Browse files

update of URLs to new location

parent 3c90cca4
...@@ -144,7 +144,7 @@ def save_exported_datasets_to_file(exported_dataset, output_file): ...@@ -144,7 +144,7 @@ def save_exported_datasets_to_file(exported_dataset, output_file):
else: else:
items = [exported_dataset] items = [exported_dataset]
obj = { obj = {
"$schema": "https://git-r3lab.uni.lu/pinar.alper/metadata-tools/raw/master/metadata_tools/resources/elu-dataset.json", "$schema": "https://raw.githubusercontent.com/elixir-luxembourg/json-schemas/master/schemas/elu-dataset.json",
"items": items "items": items
} }
return json.dump(obj, output_file, ensure_ascii = False, indent=4) return json.dump(obj, output_file, ensure_ascii = False, indent=4)
{ {
"$schema": "https://git-r3lab.uni.lu/pinar.alper/metadata-tools/raw/master/metadata_tools/resources/elu-dataset.json", "$schema": "https://raw.githubusercontent.com/elixir-luxembourg/json-schemas/master/schemas/elu-dataset.json",
"items": [ "items": [
{ {
"source": "example.com", "source": "example.com",
......
{ {
"$schema": "https://git-r3lab.uni.lu/pinar.alper/metadata-tools/raw/master/metadata_tools/resources/elu-institution.json", "$schema": "https://raw.githubusercontent.com/elixir-luxembourg/json-schemas/master/schemas/elu-institution.json",
"items": [ "items": [
{ {
"pk": "12", "pk": "12",
......
{ {
"$schema": "https://git-r3lab.uni.lu/pinar.alper/metadata-tools/raw/master/metadata_tools/resources/elu-project.json", "$schema": "https://raw.githubusercontent.com/elixir-luxembourg/json-schemas/master/schemas/elu-project.json",
"items": [ "items": [
{ {
"source": "example.com", "source": "example.com",
......
...@@ -7,7 +7,7 @@ import os ...@@ -7,7 +7,7 @@ import os
# Fixtures # Fixtures
dirname = os.path.dirname(__file__) dirname = os.path.dirname(__file__)
testdata_dir = os.path.abspath(os.path.join(dirname, "data/")) testdata_dir = os.path.abspath(os.path.join(dirname, "data/"))
schema_dir = os.path.abspath(os.path.join(dirname,"../../metadata_tools/resources/")) schema_dir = os.path.abspath(os.path.join(dirname,"../../metadata_tools/resources/json-schemas/schemas"))
schema_testdata_filename_map = [ schema_testdata_filename_map = [
('elu-dataset.json', 'datasets.json'), ('elu-dataset.json', 'datasets.json'),
#('elu-project.json', 'projects.json'), #('elu-project.json', 'projects.json'),
......
Markdown is supported
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