Skip to content
Snippets Groups Projects
Commit b28f82f6 authored by felmer's avatar felmer
Browse files

SP-326, BIS-217: Moving file format type PNG back to master data script of...

SP-326, BIS-217: Moving file format type PNG back to master data script of 'screening' because it is the default thumbnail file type.

SVN: 27352
parent 214fe5b9
No related branches found
No related tags found
No related merge requests found
...@@ -8,9 +8,6 @@ file_type_CSV.setDescription('files with values separated by comma or semicolon' ...@@ -8,9 +8,6 @@ file_type_CSV.setDescription('files with values separated by comma or semicolon'
file_type_JPG = tr.getOrCreateNewFileFormatType('JPG') file_type_JPG = tr.getOrCreateNewFileFormatType('JPG')
file_type_JPG.setDescription(None) file_type_JPG.setDescription(None)
file_type_PNG = tr.getOrCreateNewFileFormatType('PNG')
file_type_PNG.setDescription(None)
vocabulary_MICROSCOPE = tr.getOrCreateNewVocabulary('MICROSCOPE') vocabulary_MICROSCOPE = tr.getOrCreateNewVocabulary('MICROSCOPE')
vocabulary_MICROSCOPE.setDescription('Microscope used in an experiment.') vocabulary_MICROSCOPE.setDescription('Microscope used in an experiment.')
vocabulary_MICROSCOPE.setUrlTemplate(None) vocabulary_MICROSCOPE.setUrlTemplate(None)
......
...@@ -35,7 +35,6 @@ def create_experiment_if_needed(transaction): ...@@ -35,7 +35,6 @@ def create_experiment_if_needed(transaction):
create_project_if_needed(transaction) create_project_if_needed(transaction)
print 'Creating new experiment : ' + EXPERIMENT_ID print 'Creating new experiment : ' + EXPERIMENT_ID
exp = transaction.createNewExperiment(EXPERIMENT_ID, 'SIRNA_HCS') exp = transaction.createNewExperiment(EXPERIMENT_ID, 'SIRNA_HCS')
exp.setPropertyValue("DESCRIPTION", "A sample experiment")
return exp return exp
......
...@@ -2,6 +2,9 @@ import ch.systemsx.cisd.openbis.generic.server.jython.api.v1.DataType as DataTyp ...@@ -2,6 +2,9 @@ import ch.systemsx.cisd.openbis.generic.server.jython.api.v1.DataType as DataTyp
tr = service.transaction() tr = service.transaction()
file_type_PNG = tr.getOrCreateNewFileFormatType('PNG')
file_type_PNG.setDescription(None)
file_type_UNKNOWN = tr.getOrCreateNewFileFormatType('UNKNOWN') file_type_UNKNOWN = tr.getOrCreateNewFileFormatType('UNKNOWN')
file_type_UNKNOWN.setDescription('Unknown file format') file_type_UNKNOWN.setDescription('Unknown file format')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment