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.
The
addpairs.php
script file is capable of modifying application data. Do not installaddpairs.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
anddata/refs.json
files to another folder, create a branch off ofstable
, and then re-add the two JSON files to that branch for creating a PR. Please do not addaddpairs.php
to thestable
branch, or to any branch or PR intended to be merged intostable
.