- Sage with OpenSSL enabled for installing external python packages a. For MacOS, you can install it via: https://github.com/3-manifolds/Sage_macOS/releases
- PyMongo:
sage -pip install pymongo
- SymPy:
sage -pip install sympy
- python-dotenv:
sage -pip python-dotenv
- Set the environment variable
MONGO_URI
to the URI of a local or remote MongoDB database.
echo "export MONGO_URI=mongodb://username:password@hostname:port/database_name" > ~/.bashrc
- Clone the git repo
git clone git@github.com:knowbodynos/toric_cy3_orientifolds.git
cd toric_cy3_orientifolds
- Choose a random sample from the database (based on a query) for comparison:
scripts/compare_methods.py --query "H11=int(3),VOLFORMPARITY=int(-1)" sample
- Run comparisons for all database records (based on a query):
mkdir -p data
for i in {1..6}; do
scripts/compare_methods.py -q "H11=int(${i})" full > "data/h11_${i}.json"
done
sage -n jupyterlab