Task #2338 (closed)
Opened 14 years ago
Closed 14 years ago
bin/omero script upload
Reported by: | wmoore | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.2 |
Component: | General | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2010-04-30 (8) |
Description (last modified by wmoore)
Paths are being parsed strangely. Using bin/omero script upload with path that starts ../ produces this:
Also noticed double in the 'official' scripts (from path + name) which is not so bad, but / would be nicer.
wjm:dist will$ bin/omero -s localhost -u root script upload ../examples/ScriptingService/Edit_Descriptions.py Reconnected to session f064ddea-84cd-4de3-b560-f08818901175. Idle timeout: 10.0 min. Uploaded ../examples/ScriptingService/Edit_Descriptions.py as 38 wjm:dist will$ bin/omero -s localhost -u root script list user Reconnected to session f064ddea-84cd-4de3-b560-f08818901175. Idle timeout: 10.0 min. Scripts for user=0 ======================================== 4 - //newTestScript.py 6 - /omero/export_scripts//combineImages.py 7 - /omero/export_scripts//makeMovie.py 8 - /omero/figure_scripts//movieFigure.py 9 - /omero/figure_scripts//roiFigure.py 10 - /omero/figure_scripts//roiMovieFigure.py 11 - /omero/figure_scripts//splitViewFigure.py 12 - /omero/figure_scripts//thumbnailFigure.py 13 - /omero/region_scripts//populatePlateRoi.py 14 - /omero/figure_scripts//roiMovieFigure.py 20 - /Users/will/Documents/workspace/Omero/examples/ScriptingService/Edit_Descriptions.py/../examples/ScriptingService/Edit_Descriptions.py 22 - /Users/will/Documents/workspace/Omero/examples/ScriptingService/Edit_Descriptions.py/../examples/ScriptingService/Edit_Descriptions.py 32 - /Users/will/Documents/workspace/Omero/examples/ScriptingService/Edit_Descriptions.py/../examples/ScriptingService/Edit_Descriptions.py 38 - /Users/will/Documents/workspace/Omero/examples/ScriptingService/Edit_Descriptions.py/../examples/ScriptingService/Edit_Descriptions.py wjm:dist will$
Change History (4)
comment:1 Changed 14 years ago by wmoore
- Description modified (diff)
- Owner set to jmoore
comment:2 Changed 14 years ago by wmoore
comment:3 Changed 14 years ago by jmoore
- Status changed from new to assigned
I'm in the process of fixing the weirdness, but I'm not sure about the "../../examples" --> "/examples" logic. We'll need to discuss that.
comment:4 Changed 14 years ago by jmoore
- Remaining Time set to 0
- Resolution set to fixed
- Status changed from assigned to closed
Just thinking what path I would like/expect to have in this example..
I think if specified a path like this
../../examples/ScriptingService/Edit_Descriptions.py
then I would expect the Original-File to have:
Path: /examples/ScriptingService/
Name: Edit_Descriptions.py