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.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #4834 (closed)

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

original_metadata.txt defined in constant

Reported by: atarkowska Owned by: wmoore
Priority: minor Milestone: OMERO-Beta4.3
Component: Attachments Version: n.a.
Keywords: n.a. Cc: python-team@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-04-21 (10)

Description

omero.constants could possibly store:

omero.constants.annotation.file.ORIGINALMETADATA = "original_metadata.txt"

Change History (10)

comment:1 Changed 13 years ago by atarkowska

  • Sprint set to 2011-04-07 (9)

comment:2 Changed 13 years ago by atarkowska

  • Status changed from new to accepted

comment:3 Changed 13 years ago by atarkowska

(In [c1b31e7973c3bfe42a346cff5ac7611997b005a1/ome.git] on branch develop) add constant for original-metadata and fix #4834

comment:4 Changed 13 years ago by atarkowska

  • Remaining Time changed from 0.2 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

(In [126330445749414357469ca5853d78adc8533566/ome.git] on branch develop) replacing hardcoded values by constants, see #4834

comment:5 Changed 13 years ago by atarkowska

List of files to be replaced:

~/git $ git grep original_metadata.txt
components/insight/SRC/org/openmicroscopy/shoola/agents/metadata/editor/EditorModel.java:   static final String ORIGINAL_METADATA_NAME = "original_metadata.txt";
components/tools/OmeroImporter/src/ome/formats/OMEROMetadataStoreClient.java:                   originalFile.setName(toRType("original_metadata.txt"));
components/tools/OmeroPy/scripts/EMAN2/Ctf_Correction.py:    fileName = "original_metadata.txt"
components/tools/OmeroPy/scripts/EMAN2/Run_Spider_Procedure.py:    fileName = "original_metadata.txt"
components/tools/OmeroPy/scripts/EMAN2/eman2omero.py:    fileName = "original_metadata.txt"
components/tools/OmeroPy/scripts/EMAN2/spider2omero.py:    fileName = "original_metadata.txt"
components/tools/OmeroWeb/omeroweb/webclient/controller/container.py:ORIGINAL_METADATA = "original_metadata.txt"

comment:6 Changed 13 years ago by atarkowska

  • Remaining Time changed from 0 to 0.2
  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:7 Changed 13 years ago by cxallan

  • Sprint changed from 2011-04-07 (9) to 2011-04-21 (10)

Moved from sprint 2011-04-07 (9)

comment:8 Changed 13 years ago by atarkowska

  • Owner changed from atarkowska to wmoore
  • Status changed from reopened to accepted

Will could you please change the other places listed above? Thanks

comment:9 Changed 13 years ago by Will Moore <will@…>

  • Remaining Time changed from 0.2 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

(In [060ed844d139ad731eb00c7886349c520ae53166/ome.git] on branch develop) Replace 'original_metadata.txt' with omero.constants.annotation.file.ORIGINALMETADATA. Closes #4834

comment:10 Changed 13 years ago by jburel <j.burel@…>

(In [a5387be20ad86daf559b846c38ecd027bc252f6a/ome.git] on branch develop) Replace static value used for original metadata by the omero constants (see #4834).

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.68382 sec.)

We're Hiring!