|Paul Schaub a379e2ddbe||1 year ago|
|gradle/wrapper||1 year ago|
|src||1 year ago|
|.gitignore||1 year ago|
|LICENSE||1 year ago|
|README.md||1 year ago|
|build.gradle||1 year ago|
|gradlew||1 year ago|
|gradlew.bat||1 year ago|
|requirements.md||1 year ago|
|settings.gradle||1 year ago|
Application task for IMI Münster.
Purpose of the app is to generate label codes for sample tubes. The user enters the number code of the study associated with the samples they want to label, along with the sample type and number of labels to generate.
The application then does a lookup on disk, to determine how many codes have already been generated for the given study and then generates fresh ones.
The resulting labels are written to a HTML file, which can either be opened by the app itself or by the user.
The application can be started by executing the script in the
bin folder. Some command line arguments are expected, others are optional.
||none||If provided, the application will try to open the HTML file in a browser.|
||none||Do nothing but print a help page.|
||1, 2, ..., 9999||Specifies, how many codes should be generated by the program.|
||relative/absolute file path||Specify an output file for the generated HTML. If absent, the file will be written to
||3 letter study number from [a-zA-Z0-9]||Number of the associated study.|
||1 letter type symbol from [a-zA-Z0-9]||Symbol that specifies the type of the sample.|
Any valid study code can be entered. Some studies are preemptively hard-coded (
Unknown studies will be newly created.
Records about existing studies are stored in the directory
./.imicodes/. That directory contains text files which are named after studies.
Each study file contains the number of the next code which will be generated, so new codes will have different numbers by incrementing the last code by one.