wtsi-npg / npg_sentry

Other
0 stars 4 forks source link

Find a solution to duplicated config code #23

Open andrew-nowak opened 7 years ago

andrew-nowak commented 7 years ago

npg_ranger and this repository share a lot of code for configuration. lib/configger.js in npg_sentry should be a repo-agnostic library, so should also work in npg_ranger (with some changes to its lib/config.js). This duplicated code means that if changes are necessary to one, they must be manually replicated in the other. npg_ranger should be modified to use the generic library, and a location should be found for the library.