apahl / nim_labtools

A set of lab tool programs written in Nim

Repository from Github https://github.comapahl/nim_labtoolsRepository from Github https://github.comapahl/nim_labtools

Lab Tools

Summary

A set of tool programs written in Nim (GUI versions use libui and its Nim binding).

  • csv_combine_gui.nim: select a directory and combine the data from all CSVs in it into a a single CSV file
  • solution_calc_gui.nim: calculate concentrations and weights
  • pic50_gui.nim: calculate pIC50 from IC50 or vice versa

License: MIT

Building

Available build options (see $ nimble tasks):

On Linux

To build for Linux:
$ nimble releaseLinux

To build for Windows (this requires mingw-w64-gcc, as described here):
$ nimble releaseWin

On Windows

I have no toolchain for developing on Windows available, but something along these lines should work:
nim --app:gui -d:release -o:bin/<app-name>.exe c <app-name>_gui.nim

Using the GUI versions

For the GUIs to work on Linux, the corresponding libui.so library has to be in the library path (e.g. by putting the information into /etc/ld.so.conf.d/). On Windows, the easiest (and tested) way is probably to distribute the libui.dll alongside with the binary.

Screenshots

Linux

solution_calc_gui
pic50_gui

About

A set of lab tool programs written in Nim

License:MIT License


Languages

Language:Nim 100.0%