diff --git a/backend/molgenis-emx2-datamodels/src/main/java/org/molgenis/emx2/datamodels/DataModels.java b/backend/molgenis-emx2-datamodels/src/main/java/org/molgenis/emx2/datamodels/DataModels.java index 62cf509098..11c7172884 100644 --- a/backend/molgenis-emx2-datamodels/src/main/java/org/molgenis/emx2/datamodels/DataModels.java +++ b/backend/molgenis-emx2-datamodels/src/main/java/org/molgenis/emx2/datamodels/DataModels.java @@ -20,7 +20,8 @@ public enum Profile { FAIR_DATA_POINT("_profiles/FAIRDataPoint.yaml"), BEACON_V2("_profiles/BeaconV2.yaml"), GDI("_profiles/GDI.yaml"), - SHARED_STAGING("_profiles/SharedStaging.yaml"); + SHARED_STAGING("_profiles/SharedStaging.yaml"), + IMAGE_TEST("_profiles/ImageTest.yaml"); public static boolean hasProfile(String nameOther) { return Arrays.stream(values()).anyMatch(profile -> profile.name().equals(nameOther)); diff --git a/backend/molgenis-emx2-io/src/main/java/org/molgenis/emx2/io/readers/CsvTableReader.java b/backend/molgenis-emx2-io/src/main/java/org/molgenis/emx2/io/readers/CsvTableReader.java index 72fbe02e10..7b2d485cb6 100644 --- a/backend/molgenis-emx2-io/src/main/java/org/molgenis/emx2/io/readers/CsvTableReader.java +++ b/backend/molgenis-emx2-io/src/main/java/org/molgenis/emx2/io/readers/CsvTableReader.java @@ -75,10 +75,10 @@ public boolean hasNext() { } public Row next() { - HashMap next = (HashMap) it.next(); + HashMap next = (HashMap) it.next(); boolean isEmpty = next.values().stream().allMatch(Objects::isNull); while (isEmpty && it.hasNext()) { - next = (HashMap) it.next(); + next = (HashMap) it.next(); isEmpty = next.values().stream().allMatch(Objects::isNull); } return new Row(next); diff --git a/backend/molgenis-emx2-io/src/main/java/org/molgenis/emx2/io/tablestore/TableStoreForCsvFilesClasspath.java b/backend/molgenis-emx2-io/src/main/java/org/molgenis/emx2/io/tablestore/TableStoreForCsvFilesClasspath.java index 2dc7434da4..64a61f4535 100644 --- a/backend/molgenis-emx2-io/src/main/java/org/molgenis/emx2/io/tablestore/TableStoreForCsvFilesClasspath.java +++ b/backend/molgenis-emx2-io/src/main/java/org/molgenis/emx2/io/tablestore/TableStoreForCsvFilesClasspath.java @@ -1,17 +1,29 @@ package org.molgenis.emx2.io.tablestore; import java.io.*; +import java.net.URI; import java.net.URL; +import java.net.URLConnection; +import java.nio.file.*; import java.util.*; +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ConcurrentMap; +import java.util.stream.Collectors; +import java.util.stream.Stream; import org.molgenis.emx2.BinaryFileWrapper; import org.molgenis.emx2.MolgenisException; import org.molgenis.emx2.Row; import org.molgenis.emx2.io.readers.CsvTableReader; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; public class TableStoreForCsvFilesClasspath implements TableAndFileStore { public static final String CSV_EXTENSION = ".csv"; + private static final Logger log = LoggerFactory.getLogger(TableStoreForCsvFilesClasspath.class); private final String directoryPath; private final Character separator; + private static final ConcurrentMap locks = new ConcurrentHashMap<>(); + private final List storefiles; public TableStoreForCsvFilesClasspath(String directoryPath, Character separator) { if (!directoryPath.startsWith("/")) { @@ -22,6 +34,11 @@ public TableStoreForCsvFilesClasspath(String directoryPath, Character separator) throw new MolgenisException( "Import failed: Directory " + directoryPath + " doesn't exist in classpath"); this.separator = separator; + try { + storefiles = jarSaveListFiles(directoryPath + "/_files/"); + } catch (Exception e) { + throw new MolgenisException("File listing failed: " + e.getMessage(), e); + } } public TableStoreForCsvFilesClasspath(String directoryPath) { @@ -66,19 +83,69 @@ public Collection getTableNames() { @Override public BinaryFileWrapper getBinaryFileWrapper(String name) { - URL url = getClass().getResource(directoryPath + "/_files"); - String path = url.getPath(); - List result = - Arrays.stream(new File(path).listFiles()) - .filter(f -> f.getName().toString().startsWith(name + ".")) - .toList(); - if (result.isEmpty()) { - throw new MolgenisException("File not found for id " + name); - } else if (result.size() == 1) { - return new BinaryFileWrapper(result.get(0)); + try { + String fileName = + storefiles.stream().filter(f -> f.startsWith(name + ".")).findFirst().orElseThrow(); + byte[] bytes; + try (InputStream stream = + getClass().getResourceAsStream(directoryPath + "/_files/" + fileName)) { + bytes = Objects.requireNonNull(stream).readAllBytes(); + } + String mimetype = URLConnection.getFileNameMap().getContentTypeFor(fileName); + return new BinaryFileWrapper(mimetype, fileName, bytes); + + } catch (Exception ioe) { + throw new MolgenisException("Import '" + name + "' failed: " + ioe.getMessage(), ioe); + } + } + + /** List files in a directory. This method is safe to use in a jar file. */ + public List jarSaveListFiles(String path) throws Exception { + + URL url = getClass().getResource(path); + if (url == null) { + // no files directory + return Collections.emptyList(); + } + + URI uri = url.toURI(); + List files; + if ("jar".equals(uri.getScheme())) { + files = safeWalkJar(path, uri); } else { - throw new MolgenisException( - "File cannot be retrieved for id " + name + ": name is not unique"); + return Arrays.stream(Objects.requireNonNull(new File(url.getPath()).listFiles())) + .map(File::getName) + .toList(); + } + return files; + } + + private List safeWalkJar(String path, URI uri) throws Exception { + synchronized (getLock(uri)) { + // this'll close the FileSystem object at the end + try (FileSystem fs = getFileSystem(uri); + Stream walk = Files.walk(fs.getPath(path)); ) { + return walk.map(Path::getFileName).map(Path::toString).collect(Collectors.toList()); + } + } + } + + private Object getLock(URI uri) { + String fileName = parseFileName(uri); + locks.computeIfAbsent(fileName, s -> new Object()); + return locks.get(fileName); + } + + private String parseFileName(URI uri) { + String schemeSpecificPart = uri.getSchemeSpecificPart(); + return schemeSpecificPart.substring(0, schemeSpecificPart.indexOf("!")); + } + + private FileSystem getFileSystem(URI uri) throws IOException { + try { + return FileSystems.getFileSystem(uri); + } catch (FileSystemNotFoundException e) { + return FileSystems.newFileSystem(uri, Collections.emptyMap()); } } } diff --git a/backend/molgenis-emx2-io/src/test/java/org/molgenis/emx2/io/readers/CsvTableReaderTest.java b/backend/molgenis-emx2-io/src/test/java/org/molgenis/emx2/io/readers/CsvTableReaderTest.java new file mode 100644 index 0000000000..c88f86c92d --- /dev/null +++ b/backend/molgenis-emx2-io/src/test/java/org/molgenis/emx2/io/readers/CsvTableReaderTest.java @@ -0,0 +1,28 @@ +package org.molgenis.emx2.io.readers; + +import static org.junit.jupiter.api.Assertions.*; + +import com.google.common.collect.Lists; +import java.io.File; +import java.io.IOException; +import java.util.List; +import org.junit.jupiter.api.Test; +import org.molgenis.emx2.Row; + +class CsvTableReaderTest { + + @Test + void readImageMeta() throws IOException { + File file = + new File(getClass().getClassLoader().getResource("profile/imagetest.csv").getFile()); + Iterable rowsIterable = CsvTableReader.read(file); + List rows = Lists.newArrayList(rowsIterable); + assertEquals(2, rows.size()); + assertEquals("User", rows.get(0).getString("tableName")); + assertEquals("username", rows.get(0).getString("columnName")); + assertEquals("ImageTest", rows.get(0).getString("profiles")); + assertEquals("User", rows.get(1).getString("tableName")); + assertEquals("picture", rows.get(1).getString("columnName")); + assertEquals("ImageTest", rows.get(1).getString("profiles")); + } +} diff --git a/backend/molgenis-emx2-io/src/test/java/org/molgenis/emx2/io/tablestore/TableStoreForCsvFilesClasspathTest.java b/backend/molgenis-emx2-io/src/test/java/org/molgenis/emx2/io/tablestore/TableStoreForCsvFilesClasspathTest.java new file mode 100644 index 0000000000..240a5c9cbc --- /dev/null +++ b/backend/molgenis-emx2-io/src/test/java/org/molgenis/emx2/io/tablestore/TableStoreForCsvFilesClasspathTest.java @@ -0,0 +1,18 @@ +package org.molgenis.emx2.io.tablestore; + +import static org.junit.jupiter.api.Assertions.*; + +import org.junit.jupiter.api.Test; +import org.molgenis.emx2.BinaryFileWrapper; + +class TableStoreForCsvFilesClasspathTest { + + @Test + void getBinaryFileWrapper() { + String directoryPath = "_demodata/applications/imagetest"; + String fileName = "e019a97346d1416f91ba56fe842f44c6"; + TableStoreForCsvFilesClasspath store = new TableStoreForCsvFilesClasspath(directoryPath); + BinaryFileWrapper binaryFileWrapper = store.getBinaryFileWrapper(fileName); + assertNotNull(binaryFileWrapper); + } +} diff --git a/backend/molgenis-emx2-io/src/test/resources/profile/imagetest.csv b/backend/molgenis-emx2-io/src/test/resources/profile/imagetest.csv new file mode 100644 index 0000000000..702b65f8fb --- /dev/null +++ b/backend/molgenis-emx2-io/src/test/resources/profile/imagetest.csv @@ -0,0 +1,3 @@ +tableName,tableExtends,columnName,columnType,key,required,refSchema,refTable,refLink,refBack,validation,semantics,description,profiles +User,,username,,,1,true,,,,,,,ImageTest +User,,picture,file,,,,,,,,,,ImageTest \ No newline at end of file diff --git a/data/_demodata/applications/datacatalogue/Resources.csv b/data/_demodata/applications/datacatalogue/Resources.csv index 595c0a29f8..8f559dde36 100644 --- a/data/_demodata/applications/datacatalogue/Resources.csv +++ b/data/_demodata/applications/datacatalogue/Resources.csv @@ -5,7 +5,7 @@ testCohort1,https://pid-for-testcohort1.org,acronym for test cohort 1,Name for t testCohort2,https://pid-for-testcohort2.org,acronym for test cohort 2,Name for test cohort 2,Local name for test cohort 2,"test, cohort2, Molgenis, testing",https://www.molgenis.org,test lead organisation 2,id for test additional organisation 2,"This is the Test cohort 2. It has ""other"" options where possible. No end year, so ""ongoing"". Design paper = Birth of a cohort — the first 20 years of the Raine study, publications = other papers. No to data access fee. Here we have some extra text to check the read less / read more functionality on the cohort detail page.",molgenis-support@umcg.nl,Other type,Cohort 2 other type,Longitudinal,Description of the design used for cohort 2,,,Retrospective,,,100,50,United Kingdom of Great Britain and Northern Ireland (the),Bradford,"Prenatal,Child (2-12 years)",Age of majority inclusion criterion,Other inclusion criteria cohort 2,,,1955,,"F10 Mental and behavioural disorders due to use of alcohol,F11 Mental and behavioural disorders due to use of opioids","KIDNEY,""Kidney, NOS""",Carcinomatosis,False,linkage possibility description cohort 2,Annually,Release description cohort 2,Linkage options cohort 2,,general research use,publication required,Data access conditions description text cohort 2 - no fee,False,https://doi.org/10.5694/mja12.10698,"https://doi.org/10.2337/dc21-2662,https://doi.org/10.1186/s12916-023-02769-y",Study specific consent,"This is the funding statement for cohort 2. It's not too long but covers more than one line, I think, particularly if I fill it up with blah blah blah (check for ""until now"" at the end) Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum UNTIL NOW.","This is the acknowledgements text for cohort 2. Again I need to fill it up to test - check that ""until now"" has been shown at the bottom Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum UNTIL NOW",Some supplementary information for cohort 2 blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah UNTIL NOW,Cohort study,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, testNetwork2,https://pid-for-testnetwork2.org,acronym for test network2,name for test network2,,,https://www.molgenis.org,UMCG,"AMC,CYN",test description for new test network,,,,,,,,,,,,,"Germany,Netherlands (the)",,,,,,,1975,2010,,,,,,,,,,,,,,,https://doi.org/10.1016/S1473-3099(20)30873-2,,"test funding statement for test network - check that ""until now"" has been included blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah until now","test acknowledgements for test network - check that ""until now"" has been included blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah until now",,Network,EU4health - Prevention,"Funding,EU institutional research programme,Non-EU institutional research programme,EMA,National competent authority (NCAs),Other public funding (e.g. hospital or university),Non for-profit organisation (e.g. charity),Pharmaceutical company and other private sector,No external funding,Funding: Other",,"COD_FARMACI_SPF,SPECIALISTICA,AP","testCohort1,testCohort2",testNetwork1_CDM,,"testCohort1,testCohort2,COD_FARMACI_SPF,SPECIALISTICA,AP",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, testNetworkofNetworks,https://pid-for-testnetworkofnetworks.org,acronym for test network of networks,name for test network of networks,,,https://www.molgenis.org,UMCG,"AMC,CYN",test description for new test network,,,,,,,,,,,,,"Germany,Netherlands (the)",,,,,,,1975,2010,,,,,,,,,,,,,,,https://doi.org/10.1016/S1473-3099(20)30873-2,,"test funding statement for test network - check that ""until now"" has been included Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. until now","test acknowledgements for test network - check that ""until now"" has been included Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. until now",,Network,EU4health - Prevention,"Funding,EU institutional research programme,Non-EU institutional research programme,EMA,National competent authority (NCAs),Other public funding (e.g. hospital or university),Non for-profit organisation (e.g. charity),Pharmaceutical company and other private sector,No external funding,Funding: Other",,"COD_FARMACI_SPF,SPECIALISTICA,AP","testCohort3,testCohort1,testCohort2",testNetwork1_CDM,"testNetwork1,testNetwork2","testNetwork1,testNetwork2,testCohort3,testCohort1,testCohort2,COD_FARMACI_SPF,SPECIALISTICA,AP",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -testNetwork1,https://pid-for-testnetwork1.org,acronym for test network1,name for test network1,,,https://www.molgenis.org,UMCG,"AMC,CYN",test description for new test network,,,,,,,,,,,,,"Central African Republic (the),Chad",,,,,,,1975,2010,,,,,,,,,,,,,,,"https://doi.org/10.1016/S1473-3099(20)30873-2,https://doi.org/10.1136/bmjopen-2017-015867",,"test funding statement for test network - check that ""until now"" has been included Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. until now","test acknowledgements for test network - check that ""until now"" has been included Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. until now",,Network,EU4health - Prevention,"Funding,EU institutional research programme,Non-EU institutional research programme,EMA,National competent authority (NCAs),Other public funding (e.g. hospital or university),Non for-profit organisation (e.g. charity),Pharmaceutical company and other private sector,No external funding,Funding: Other",TestDataSourceID,"COD_FARMACI_SPF,SPECIALISTICA,AP","testCohort3,testCohort4,testCohort1,testCohort2",testNetwork1_CDM,,"testCohort3,testCohort4,testCohort1,testCohort2,TestDataSourceID,COD_FARMACI_SPF,SPECIALISTICA,AP",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +testNetwork1,https://pid-for-testnetwork1.org,acronym for test network1,name for test network1,,,https://www.molgenis.org,UMCG,"AMC,CYN",test description for new test network,,,,,,,,,TEST logo for network,TEST logo for network.jpg,,,"Central African Republic (the),Chad",,,,,,,1975,2010,,,,,,,,,,,,,,,"https://doi.org/10.1016/S1473-3099(20)30873-2,https://doi.org/10.1136/bmjopen-2017-015867",,"test funding statement for test network - check that ""until now"" has been included Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. until now","test acknowledgements for test network - check that ""until now"" has been included Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. until now",,Network,EU4health - Prevention,"Funding,EU institutional research programme,Non-EU institutional research programme,EMA,National competent authority (NCAs),Other public funding (e.g. hospital or university),Non for-profit organisation (e.g. charity),Pharmaceutical company and other private sector,No external funding,Funding: Other",TestDataSourceID,"COD_FARMACI_SPF,SPECIALISTICA,AP","testCohort3,testCohort4,testCohort1,testCohort2",testNetwork1_CDM,,"testCohort3,testCohort4,testCohort1,testCohort2,TestDataSourceID,COD_FARMACI_SPF,SPECIALISTICA,AP",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, CONSTANCES,,CONSTANCES,Cohorte des Consultants des Centres d’Examens,,,https://www.constances.fr/,INSERM,,,,Population cohort,,Longitudinal,,,,"Retrospective,Prospective",,,220000,,France,,Adult (18+ years),,,,,2012,2019,,,,,,,,,,,,,,https://doi.org/10.1007/s10654-015-0096-4,,,,,,Cohort study,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, G21,,,Generation 21,Geraç,,http://www.geracao21.com/pt/,ISPUP,,,,Birth cohort,,Longitudinal,,,,,,,8647,,Portugal,,"Newborn (0-1 months),Child (2-12 years),Adolescent (13-17 years)",,,,,2005,,,,,,,,,,,,,,,,,,,,,Cohort study,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, mCRC-VHIO,,mCRC-VHIO,metastatic Colorrectar Cancer - VHIO,,,,VHIO,,,xvillalobos@vhio.net,Clinical cohort,,Cross-sectional,,,,Retrospective,,,116,,,,,,,,,,,,,,,,,,,,disease specific research,,,,,,,,,,Cohort study,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, diff --git a/data/_demodata/applications/datacatalogue/_files/TEST LOGO FOR cohort 1.jpg b/data/_demodata/applications/datacatalogue/_files/TEST LOGO FOR cohort 1.jpg new file mode 100644 index 0000000000..82a04d43d0 Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/TEST LOGO FOR cohort 1.jpg differ diff --git a/data/_demodata/applications/datacatalogue/_files/TEST logo for additional org 2.jpg b/data/_demodata/applications/datacatalogue/_files/TEST logo for additional org 2.jpg new file mode 100644 index 0000000000..34ae8df8e2 Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/TEST logo for additional org 2.jpg differ diff --git a/data/_demodata/applications/datacatalogue/_files/TEST logo for cohort 2.jpg b/data/_demodata/applications/datacatalogue/_files/TEST logo for cohort 2.jpg new file mode 100644 index 0000000000..70f3f63813 Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/TEST logo for cohort 2.jpg differ diff --git a/data/_demodata/applications/datacatalogue/_files/TEST logo for lead org 2.jpg b/data/_demodata/applications/datacatalogue/_files/TEST logo for lead org 2.jpg new file mode 100644 index 0000000000..c08a0f25ee Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/TEST logo for lead org 2.jpg differ diff --git a/data/_demodata/applications/datacatalogue/_files/TEST logo for network.jpg b/data/_demodata/applications/datacatalogue/_files/TEST logo for network.jpg new file mode 100644 index 0000000000..f7844d2499 Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/TEST logo for network.jpg differ diff --git a/data/_demodata/applications/datacatalogue/_files/TEST logo for test institute for test research centre.jpg b/data/_demodata/applications/datacatalogue/_files/TEST logo for test institute for test research centre.jpg new file mode 100644 index 0000000000..ba8df9ee3c Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/TEST logo for test institute for test research centre.jpg differ diff --git a/data/_demodata/applications/datacatalogue/_files/TEST photo for PI-PL.jpg b/data/_demodata/applications/datacatalogue/_files/TEST photo for PI-PL.jpg new file mode 100644 index 0000000000..4608e398c0 Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/TEST photo for PI-PL.jpg differ diff --git a/data/_demodata/applications/datacatalogue/_files/TEST photo for alternative contact.jpg b/data/_demodata/applications/datacatalogue/_files/TEST photo for alternative contact.jpg new file mode 100644 index 0000000000..68c9d1df16 Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/TEST photo for alternative contact.jpg differ diff --git a/data/_demodata/applications/datacatalogue/_files/TEST photo for participant.jpg b/data/_demodata/applications/datacatalogue/_files/TEST photo for participant.jpg new file mode 100644 index 0000000000..a430c3bbc5 Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/TEST photo for participant.jpg differ diff --git a/data/_demodata/applications/datacatalogue/_files/Test logo for additional organisation.jpg b/data/_demodata/applications/datacatalogue/_files/Test logo for additional organisation.jpg new file mode 100644 index 0000000000..8aac9e2016 Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/Test logo for additional organisation.jpg differ diff --git a/data/_demodata/applications/datacatalogue/_files/UMCGkort.fc.jpg b/data/_demodata/applications/datacatalogue/_files/UMCGkort.fc.jpg new file mode 100644 index 0000000000..022f120d05 Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/UMCGkort.fc.jpg differ diff --git a/data/_demodata/applications/datacatalogue/_files/athlete-logo.png b/data/_demodata/applications/datacatalogue/_files/athlete-logo.png new file mode 100644 index 0000000000..43ab7f7b08 Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/athlete-logo.png differ diff --git a/data/_demodata/applications/datacatalogue/_files/force-logo.jpeg b/data/_demodata/applications/datacatalogue/_files/force-logo.jpeg new file mode 100644 index 0000000000..eea1a9d441 Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/force-logo.jpeg differ diff --git a/data/_demodata/applications/datacatalogue/_files/gen-r-logo.png b/data/_demodata/applications/datacatalogue/_files/gen-r-logo.png new file mode 100644 index 0000000000..439ad56958 Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/gen-r-logo.png differ diff --git a/data/_demodata/applications/datacatalogue/_files/lifecycle-logo.png b/data/_demodata/applications/datacatalogue/_files/lifecycle-logo.png new file mode 100644 index 0000000000..e27c741cc6 Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/lifecycle-logo.png differ diff --git a/data/_demodata/applications/datacatalogue/_files/maastricht-logo.png b/data/_demodata/applications/datacatalogue/_files/maastricht-logo.png new file mode 100644 index 0000000000..878f234642 Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/maastricht-logo.png differ diff --git a/data/_demodata/applications/datacatalogue/_files/stage-logo.png b/data/_demodata/applications/datacatalogue/_files/stage-logo.png new file mode 100644 index 0000000000..5563c60422 Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/stage-logo.png differ diff --git a/data/_demodata/applications/datacatalogue/_files/test design schematic.png b/data/_demodata/applications/datacatalogue/_files/test design schematic.png new file mode 100644 index 0000000000..d523b57fb8 Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/test design schematic.png differ diff --git a/data/_demodata/applications/datacatalogue/_files/test logo lead organisation.jpg b/data/_demodata/applications/datacatalogue/_files/test logo lead organisation.jpg new file mode 100644 index 0000000000..e51a81ba0c Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/test logo lead organisation.jpg differ diff --git a/data/_demodata/applications/datacatalogue/_files/test photo of data manager.jpg b/data/_demodata/applications/datacatalogue/_files/test photo of data manager.jpg new file mode 100644 index 0000000000..8aa261591a Binary files /dev/null and b/data/_demodata/applications/datacatalogue/_files/test photo of data manager.jpg differ diff --git a/data/_demodata/applications/datacatalogue_sharedstaging/_files/TEST logo for network.jpg b/data/_demodata/applications/datacatalogue_sharedstaging/_files/TEST logo for network.jpg new file mode 100644 index 0000000000..f7844d2499 Binary files /dev/null and b/data/_demodata/applications/datacatalogue_sharedstaging/_files/TEST logo for network.jpg differ diff --git a/data/_demodata/applications/imagetest/User.csv b/data/_demodata/applications/imagetest/User.csv new file mode 100644 index 0000000000..8ff7ee5d6a --- /dev/null +++ b/data/_demodata/applications/imagetest/User.csv @@ -0,0 +1,2 @@ +username,picture,picture_filename +bofke,e019a97346d1416f91ba56fe842f44c6,8hlbnm.jpg \ No newline at end of file diff --git a/data/_demodata/applications/imagetest/_files/e019a97346d1416f91ba56fe842f44c6.jpg b/data/_demodata/applications/imagetest/_files/e019a97346d1416f91ba56fe842f44c6.jpg new file mode 100644 index 0000000000..7d078be145 Binary files /dev/null and b/data/_demodata/applications/imagetest/_files/e019a97346d1416f91ba56fe842f44c6.jpg differ diff --git a/data/_models/specific/imagetest.csv b/data/_models/specific/imagetest.csv new file mode 100644 index 0000000000..91802349c6 --- /dev/null +++ b/data/_models/specific/imagetest.csv @@ -0,0 +1,3 @@ +tableName,tableExtends,columnName,columnType,key,required,refSchema,refTable,refLink,refBack,validation,semantics,description,profiles +User,,username,,1,true,,,,,,,,ImageTest +User,,picture,file,,,,,,,,,,ImageTest \ No newline at end of file diff --git a/data/_profiles/ImageTest.yaml b/data/_profiles/ImageTest.yaml new file mode 100644 index 0000000000..47b2fbc1b5 --- /dev/null +++ b/data/_profiles/ImageTest.yaml @@ -0,0 +1,9 @@ +--- +name: Image test +description: "test image loading" + +profileTags: ImageTest + +demoData: _demodata/applications/imagetest + +settings: _settings/datacatalogue \ No newline at end of file