Skip to content

Submit bulk patient data to multiple intraocular lens power calculation formulas.

Notifications You must be signed in to change notification settings

Wingman4l7/catcalc

Repository files navigation

catcalc

Submit bulk patient data to multiple intraocular lens power calculation formulas.

stock image of a cat wearing glasses

About

For research purposes only!

Installation

Written for Python 3, requires 2 libraries. In case your IDE doesn't pull them down, here are the two dependendies you need:

  • pip3 install selenium
  • pip3 install chromedriver-binary-auto

chromedriver-binary-auto (as opposed to chromedriver-binary) will automatically detects the latest chromedriver version required for your local installation of Chrome. Considering most Chrome installs automatically update, you could probably just use chromedriver-binary; the import statement doesn't need to change as far as I know.

How to Run

  • Just invoke via the command line, like so: python3 name_of_calculator.py
  • Both scripts are currently set to "headless" mode -- comment out the line opts.add_argument("headless") near the top of the file to see the calculator actually spawn a browser window and run through it (although it runs fast so it's hard to watch).
  • The model names from the dropdown you'll need are listed in a comment above the select_IOL_model() function.
  • Other info about what functions return is usually in a comment above the function, or near the function call.
  • You will see a DeprecationWarning complaining about executable_path -- you can ignore this.

About

Submit bulk patient data to multiple intraocular lens power calculation formulas.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages