Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
- Timestamp:
-
12/19/11 14:18:27 (12 years ago)
- Author:
-
cxallan
- Comment:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
-
initial
|
v1
|
|
1 | 1 | To support templates that do not need to contain the fileId the path returned by the repository needs to be unique. See #6223 for initial work on path templates. |
| 2 | |
| 3 | Using a set of example paths from #909: |
| 4 | |
| 5 | {{{ |
| 6 | /Users/chris/images/screens/BigScreen/PlateQQ001/Well001/Image_A1_field001_channel001.tif |
| 7 | /Users/chris/images/screens/BigScreen/PlateQQ001/Well001/Image_A1_field001_channel002.tif |
| 8 | /Users/chris/images/screens/BigScreen/PlateQQ001/Well001/Image_A1_field001_channel003.tif |
| 9 | ... |
| 10 | /Users/chris/images/screens/BigScreen/PlateQQ001/Well001/Image_A1_field002_channel001.tif |
| 11 | /Users/chris/images/screens/BigScreen/PlateQQ001/Well001/Image_A1_field002_channel002.tif |
| 12 | /Users/chris/images/screens/BigScreen/PlateQQ001/Well001/Image_A1_field002_channel003.tif |
| 13 | ... |
| 14 | /Users/chris/images/screens/BigScreen/PlateQQ001/Well001/Image_A2_field001_channel001.tif |
| 15 | /Users/chris/images/screens/BigScreen/PlateQQ001/Well001/Image_A2_field001_channel002.tif |
| 16 | /Users/chris/images/screens/BigScreen/PlateQQ001/Well001/Image_A2_field001_channel003.tif |
| 17 | ... |
| 18 | /Users/chris/images/screens/BigScreen/PlateQQ001/Well002/Image_A1_field001_channel001.tif |
| 19 | /Users/chris/images/screens/BigScreen/PlateQQ001/Well002/Image_A1_field001_channel002.tif |
| 20 | /Users/chris/images/screens/BigScreen/PlateQQ001/Well002/Image_A1_field001_channel003.tif |
| 21 | ... |
| 22 | /Users/chris/images/screens/BigScreen/PlateQQ002/Well001/Image_A1_field001_channel001.tif |
| 23 | /Users/chris/images/screens/BigScreen/PlateQQ002/Well001/Image_A1_field001_channel002.tif |
| 24 | /Users/chris/images/screens/BigScreen/PlateQQ002/Well001/Image_A1_field001_channel003.tif |
| 25 | }}} |
| 26 | |
| 27 | 1. Based on {{{getUsedFiles()}}} resolve the longest unique path on the client: |
| 28 | |
| 29 | {{{ |
| 30 | PlateQQ001/Well001/Image_A1_field001_channel001.tif |
| 31 | }}} |
| 32 | |
| 33 | 1. Grab the parent directory for the longest unique path |
| 34 | |
| 35 | {{{ |
| 36 | BigScreen/PlateQQ001/Well001/Image_A1_field001_channel001.tif |
| 37 | }}} |
| 38 | |
| 39 | 1. Ask the server for a unique path for this sub path |
| 40 | |
| 41 | {{{ |
| 42 | /OMERO/Files/2011/12/19/BigScreen/ # If there IS NOT colliding path |
| 43 | /OMERO/Files/2011/12/19/BigScreen-1/ # If there IS a colliding path |
| 44 | }}} |
1.3.13-PRO © 2008-2011
Agilo Software all
rights reserved
(this page was served in: 0.55391 sec.)