Giter Site home page Giter Site logo

drug_drug_interactions's Introduction

side_effects

Predict DDI and their side effects

Development, testing, and deployment tools

This section documents our process for running continuous integration (CI) tests and all the steps required during development.

Testing

We use nose for all our tests. To run the test, please use:

pytest -v tests/

Continuous Integration

You should test your code. A rudimentary configuration file for bitbucket-pipelines.yml is provided, but do not feel compelled to use it. It is just to help you get started

Conda Environment:

Please always provide a conda environnment, as the specific package versions you are using are important for your results to be reproductible. A simple test environment file with base dependencies is provided (env.yml). Channels are not specified here and therefore respect global Conda configuration

Additional Scripts:

  • scripts
    • create_conda_env.py: Helper program for spinning up new conda environments based on a starter file with Python Version and Env. Name command-line options

Checklist for updates

  • Make sure there is an/are issue(s) opened for your specific update
  • Create the PR, referencing the issue
  • Debug the PR as needed until tests pass
  • Tag the final, debugged version
    • git tag -a X.Y.Z [latest pushed commit] && git push --follow-tags
  • Get the PR merged in

Versioneer Auto-version

Versioneer will automatically infer what version is installed by looking at the git tags and how many commits ahead this version is. The format follows PEP 440 and has the regular expression of:

\d+.\d+.\d+(?\+\d+-[a-z0-9]+)

If the version of this commit is the same as a git tag, the installed version is the same as the tag, e.g. side_effects-0.1.2, otherwise it will be appended with +X where X is the number of commits ahead from the last tag, and then -YYYYYY where the Y's are replaced with the git commit hash.

Copyright

Copyright (c) 2019, InVivo AI

drug_drug_interactions's People

Contributors

prtos avatar srkpa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.