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):
else:
items = [exported_dataset]
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
}
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": [
{
"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": [
{
"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": [
{
"source": "example.com",
......
......@@ -7,7 +7,7 @@ import os
# Fixtures
dirname = os.path.dirname(__file__)
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 = [
('elu-dataset.json', 'datasets.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