diff --git a/docs/contributing.md b/docs/contributing.md index 8a40fb36..f7dd0965 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -96,7 +96,7 @@ Once your model submission is accepted, it will become available to other users This section describes how to add a catalog entry by hand. These steps are an alternative to using the form above. -Fork the [scivision repository](https://github.com/alan-turing-institute/scivision) and on your new branch, add metadata for your computer vision model to the end of `models.json` found in (`scivision/scivision/catalog/data/`), with the following format, under `"entries"`. +Fork the [scivision repository](https://github.com/alan-turing-institute/scivision) and on your new branch, add metadata for your computer vision model to the end of `models.json` found in (`scivision/src/scivision/catalog/data/`), with the following format, under `"entries"`. ``` { @@ -132,7 +132,7 @@ This section describes how to add a catalog entry by hand. These steps are an a On a new branch of the scivision repository, add your dataset to the end of `datasources.json`, with the following format, incrementing the data number by from the most recent entry. After you are done, create a pull request with the changes. -Fork the [scivision repository](https://github.com/alan-turing-institute/scivision) and on your new branch, add your dataset to the end of `datasources.json` (found in `scivision/scivision/catalog/data/`), with the following format, under `"entries"`. +Fork the [scivision repository](https://github.com/alan-turing-institute/scivision) and on your new branch, add your dataset to the end of `datasources.json` (found in `scivision/src/scivision/catalog/data/`), with the following format, under `"entries"`. ``` { diff --git a/docs/data_repository_template.md b/docs/data_repository_template.md index 1d59e532..940211db 100644 --- a/docs/data_repository_template.md +++ b/docs/data_repository_template.md @@ -91,7 +91,7 @@ When viewing the dataset in [sci.vision](https://sci.vision/#/datasource-grid) a - It must be a 256x256 PNG or JPEG file - The file name should be the name of the dataset as in the catalog -Once you have identified a suitable thumbnail please upload it to the [thumbnail datasources folder](https://github.com/alan-turing-institute/scivision/tree/main/scivision/catalog/data/thumbnails/datasources). +Once you have identified a suitable thumbnail please upload it to the [thumbnail datasources folder](https://github.com/alan-turing-institute/scivision/tree/main/src/scivision/catalog/data/thumbnails/datasources). Once you have identified a suitable thumbnail, follow the :ref:`how-to-contribute` guide to open a pull request to the Scivision GitHub repo which adds the thumbnail image in the `scivision/catalog/data/thumbnails/datasources` folder. diff --git a/docs/model_repository_template.md b/docs/model_repository_template.md index 0c3f2f9b..e74f80f5 100644 --- a/docs/model_repository_template.md +++ b/docs/model_repository_template.md @@ -174,9 +174,9 @@ When viewing the model in [sci.vision](https://sci.vision/#/model-grid) a model - It must be a 256x256 PNG or JPEG file - The file name should be the name of the model as in the catalog -Once you have identified a suitable thumbnail please upload it to the [thumbnail models folder](https://github.com/alan-turing-institute/scivision/tree/main/scivision/catalog/data/thumbnails/models). +Once you have identified a suitable thumbnail please upload it to the [thumbnail models folder](https://github.com/alan-turing-institute/scivision/tree/main/src/scivision/catalog/data/thumbnails/models). -Once you have identified a suitable thumbnail, follow the :ref:`how-to-contribute` guide to open a pull request to the Scivision GitHub repo which adds the thumbnail image in the `scivision/catalog/data/thumbnails/models` folder. +Once you have identified a suitable thumbnail, follow the :ref:`how-to-contribute` guide to open a pull request to the Scivision GitHub repo which adds the thumbnail image in the `src/scivision/catalog/data/thumbnails/models` folder. .. _additional: diff --git a/frontend/src/DatasourceNew.jsx b/frontend/src/DatasourceNew.jsx index c5e5b68a..48b09e9a 100644 --- a/frontend/src/DatasourceNew.jsx +++ b/frontend/src/DatasourceNew.jsx @@ -126,8 +126,8 @@ export default function DatasourceNew({ gh_logged_in }) { sessionStorage.setItem("new-datasource-thumbnail/jpeg", imgData) } catalog_kind="datasource" - catalog_path="scivision/catalog/data/datasources.json" - thumbnail_directory="scivision/catalog/data/thumbnails/datasources" + catalog_path="src/scivision/catalog/data/datasources.json" + thumbnail_directory="src/scivision/catalog/data/thumbnails/datasources" download_filename="one-datasource.json" /> )} diff --git a/frontend/src/ModelNew.jsx b/frontend/src/ModelNew.jsx index f7873bb2..cf5250ea 100644 --- a/frontend/src/ModelNew.jsx +++ b/frontend/src/ModelNew.jsx @@ -148,8 +148,8 @@ export default function ModelNew({ gh_logged_in }) { sessionStorage.setItem("new-model-thumbnail/jpeg", imgData) } catalog_kind="model" - catalog_path="scivision/catalog/data/models.json" - thumbnail_directory="scivision/catalog/data/thumbnails/models" + catalog_path="src/scivision/catalog/data/models.json" + thumbnail_directory="src/scivision/catalog/data/thumbnails/models" download_filename="one-model.json" /> )} diff --git a/frontend/src/ProjectNew.jsx b/frontend/src/ProjectNew.jsx index 1dc7e8f5..cddf30d5 100644 --- a/frontend/src/ProjectNew.jsx +++ b/frontend/src/ProjectNew.jsx @@ -74,8 +74,8 @@ export default function ProjectNew({ gh_logged_in }) { sessionStorage.setItem("new-project-thumbnail/jpeg", imgData) } catalog_kind="project" - catalog_path="scivision/catalog/data/projects.json" - thumbnail_directory="scivision/catalog/data/thumbnails/projects/" + catalog_path="src/scivision/catalog/data/projects.json" + thumbnail_directory="src/scivision/catalog/data/thumbnails/projects/" download_filename="one-project.json" />