Skip to content
This repository has been archived by the owner on Mar 11, 2023. It is now read-only.

MolecularAI/reinvent-models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please note: this repository is no longer being maintained.

Introduction

This is a package to supply all the models used by REINVENT.

Develop

Setup environment

You can use Conda to create an environment with all the necessary packages installed.

$ conda env create -f reinvent_models
[...]
$ conda activate reinvent_models

Run tests

The tests use the unittest package testing framework. Before you can run the tests make sure that you have created a config.jsonfile in the reinvent_models/configs directory. There is an example config in the same directory, which you can base your own config off of. The easiest way is to make a copy of the example config file and name it config.json. Make sure that you set MAIN_TEST_PATH to a non-existent directory; it is where temporary files will be written during the tests; if it is set to an existing directory, that directory will be removed once the tests have finished.

For the unit tests in this repository, make sure the paths below are set: "PRIOR_PATH": "/path/to/reinvents/prior" "LIBINVENT_PRIOR_PATH": "/path/libinvent/prior"

Once you have created a config file, you can run the tests, located in the directory, by running

$ python main_test.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages