primaryodors / primarydock

PrimaryOdors.org molecular docker.
Other
6 stars 4 forks source link

Data entry utility - Do Not Merge. #252

Open primaryodors opened 1 year ago

primaryodors commented 1 year ago

The addpairs.php script file is capable of modifying application data. Do not install addpairs.php on any production website.

This is a utility for adding new empirical pairs to the data/odorant.json file.

To use, first checkout the data-entry-tool branch to a local installation of the PrimaryDock web app. Then navigate to http://127.0.0.1/primarydock/addpairs.php. It will ask you to set up an admin password; once you do, it will allow entering data from scientific publications about receptor responses to odorants.

If you use this utility to add data, please copy your modified data/odorant.json and data/refs.json files to another folder, create a branch off of stable, and then re-add the two JSON files to that branch for creating a PR. Please do not add addpairs.php to the stable branch, or to any branch or PR intended to be merged into stable.