Gathering medical images for research is a long, tedious task. Many institutions possess images that are highly relevant to other institutions' research areas, however, there is currently no convenient way to share information cross-institutionally about who was what kind of images. The SPECTRA Collaboration has pioneered development of an image metadata repository to share relevant metadata of their images with other members of the SPECTRA Collaboration in hopes to increase collaboration and image sharing between institutions.
https://repository.spectra-collab.org/
You will be redirected to the login page of the Spectra Collaboration Main Site where you will be prompted to login with your Spectra member credentials.
If you are NOT currently a member of the Spectra Collaboration you must sign up through the main site and be approved by the Spectra Admin team.
Refer to Usage Instruction and FAQ Powerpoint for any questions regarding how to upload data or the meaning of any tables on the site.
Ensure your terminal is in the /metadata_repo directory, then run:
conda env create -f environment.yaml
If using an Apple processor, run the following command instead:
CONDA_SUBDIR=osx-64 conda env create -f environment.yaml
conda activate spectra_repo
In order for the app to connect to the database, you need to manually add a file containing the MongoDB connection string. This file is hidden from the repository.
-
Once in the /metadata_repo directory:
-
Copy your "secrets.toml" to this directory (ie. .streamlit/secrets.toml)
cp <path_to_secrets.toml>/secrets.toml <path_to_repository>/.streamlitExample:
cp Downloads/secrets.toml Documents/metadata_repo/.streamlit
Run the command:
streamlit run myApp.py
The webpage should automatically open on your default browser. (Note, if it is your first time using Streamlit, you may be prompted to enter your email. You don't have to. Instead just leave the email field blank and press enter)
Once changes have been pushed to the main branch of this repository. Please contact Chris Brunet for instructions on pushing changes to Google Cloud.