Converting a database to the new 3.1 format

Questions about BrainVisa usage and installation

Moderators: denghien, riviere

Post Reply
User avatar
Olivier Coulon
Posts: 176
Joined: Fri Feb 27, 2004 11:48 am
Location: MeCA research group, Institut de Neurosciences de La Timone, Marseille, France
Contact:

Converting a database to the new 3.1 format

Post by Olivier Coulon »

Hello there,
I am working with a old database (3.0) and converted it to a new database (using the convert database tool). Then when I use some other BV process, some fields are not filled in because there seem to be a problem with minf files that were generated in the old database, they are not recognised in the 3.1 version. For instance if I take the .minf of a nobias image that was generated under the old hierarchy, it looks like this :

Code: Select all

attributes = {'referential': '1e915515-2e98-46a1-6e83-05b16ab6eec0', 'uuid': '647c2b84-852e-fdf3-599e-03a4ca40d937'}
whereas if I look athe same sort of .minf for another subject that was processed under the new 3.1 hierarchy, it looks like this :

Code: Select all

attributes = {u'volume_dimension': [240, 240, 185, 1], u'data_type': 'S16', u'aux_file': '', u'file_type': 'NIFTI1', u'object_type': 'Volume', u'bits_allocated': 16, u'referentials': ['Scanner-based anatomical coordinates'], u'voxel_size': [1, 1, 1, 1], u'cal_max': 0, u'freq_dim': 0, u'transformations': [[-1, 0, 0, -31.8294, 0, -1, 0, -31.8294, 0, 0, -1, 200.70099999999999, 0, 0, 0, 1]], u'slice_dim': 0, 'uuid': '8e15f15d-a172-6cf3-f95b-379ff9412af9', u'cal_min': 0, u'xyz_units': 0, u'time_units': 0, u'slice_duration': 0, u'storage_to_memory': [-1, 0, 0, 239, 0, -1, 0, 239, 0, 0, -1, 184, 0, 0, 0, 1], u'slice_code': 0, u'referential': '6700fd2a-6eee-8e07-d46f-860ce813be11', u'phase_dim': 0, u'slice_end': 0, u'descrip': '', u'slice_start': 0, u'toffset': 0, u'nifti_type': 1}
Any clue on how I can recover properly my 'old hierarchy' data to a new hierarchy database ?
Thank you.

Olivier
Olivier Coulon
Institut de Neurosciences de La Timone,
Aix-Marseille Université,
Marseille, france
https://meca-brain.org
User avatar
Yann Cointepas
Posts: 316
Joined: Tue Jan 20, 2004 2:56 pm
Location: Neurospin, Saint Aubin, France
Contact:

Re: Converting a database to the new 3.1 format

Post by Yann Cointepas »

Hi Olivier,

Most of the fields in the minf file are not used in BrainVISA databases, the most important thing is the full path name(s) of your data. One notable exception is "uuid" but it has no influence on parameter links. I am not sure that your problem is related to minf file. What makes you think so ? Did you try to look at your new database with the database explorer process just to be sure that converted files are recognized in the new structure ?

Yann
Post Reply