#303 closed Request (fixed)
Automatic attachment of files to sample (Case) items
Reported by: | Jari Häkkinen | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | Reggie v1.2 |
Component: | net.sf.basedb.reggie | Keywords: | |
Cc: |
Description
We need to attached scanned items to Samples.
Reggie should be extended with a functionality where it automatically associates files in a directory with samples. The association is implicit where the file name is used to deduce the sample name. The work flow to be supported goes like this
- The user uploads files to a directory in the BASE file system.
- When Reggie is started in "File association mode" the user should be asked for a directory containing the files to be connected.
- Reggie should go through all files in the directory and associate file not already associated with sample items.
- When all files are processed Reggie should present the number of already associated files, newly associated files, and list the files not associated.
The file names of the files to be associated are simply the sample name with a pdf extension, e.g., 123456.pdf, so Reggie should simply omit the .pdf extension and look for a sample named 123456.
What items should Reggie look for? The standard dialogue that is used in several other places can be used with a default value of 'In current project'.
Change History (4)
comment:1 by , 14 years ago
Status: | new → assigned |
---|
comment:2 by , 14 years ago
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [1335]) References #303: Automatic attachment of files to sample (Case) items
The functionality is more or less in place. Just need some more polishing up in the gui and error handling.