SD2E / SYNBICT

Synthetic Biology Curation Tools
6 stars 2 forks source link

Refactor human input to a separate module #35

Open jakebeal opened 5 years ago

jakebeal commented 5 years ago

The places where the script gets input from a human are currently inline with the logic code, which makes it difficult to test or to change input source in the future (e.g., from command line to Jupyter or web interface).

We should refactor those requests for input into a separate module, which gets called to get input. That module can then be readily reconfigured to provide options for alternate inputs if desired.