/postdoc_challenge

code for postdoc programming challenge

Primary LanguagePython

Build Status Coverage Status

Installation

Requirements may be installed via pip install -r requirements.txt from within the package folder.

Usage

  • Generate files and nodes files using python gen_test_data.py -o OUTPUT_FILENAME -n NUM_DATA
  • Run solution using python solution.py -f INPUT_FILES_FILENAME -n INPUT_NODES_FILENAME
  • Help for either function (include optional arguments for plotting, etc.) can be shown using python gen_test_data.py --help or python solution.py --help
  • Plot the results using python solution.py -f INPUT_FILES_FILENAME -n INPUT_NODES_FILENAME --plot or python solution.py -f INPUT_FILES_FILENAME -n INPUT_NODES_FILENAME --plotly (for matplotlib and plotly, respectively)

Web

A web implementation of this package is available at https://filenode-distributor.herokuapp.com/