So, I tried to copy over all the other preference files from the broken file tree structure and then delete them one by one. The culpit was the .relion_display_gui_settings file. It had the following content:
Scale: = 0.5
Black value: = 0.1
White value: = 0.9
Sigma contrast: =
Nr. columns: = 4
Ori scale: = 1
Max. nr. images: = 500
Seems like relion_display doesn't handle the case of a missing value very well. I guess it got corrupted when I invoked relion_display manually from the command line with erroneous parameter value combinations.
For future reference: The workaround for this bug is to delete the hidden parameter file ".relion_display_gui" (notice the leading period sign). (Alternatively, edit the file in a text editor and add a value after the equal sign for each line.)
Regards,
Daniel
> On 2017-10-17, at 11:36, Daniel Larsson <[log in to unmask]> wrote:
>
> No, unfortunately replacing (nor removing) the defaults_pipeline.star file doesn't help (already tried that). I should mention that I've done some "manual" command line tweaking in the directory tree (e.g. editing particles.star files, referencing mrc files without importing, duplicated jobs etc), but that has never cased problems before.
>
> Regards,
> Daniel
>
>> On 2017-10-17, at 10:05, Sjors Scheres <[log in to unmask]> wrote:
>>
>> Hi Daniel,
>> Is the default_pipeline.star file intact? You could try replacing it with the backup copy that is made in the last job directory that you created.
>> HTH,
>> Sjors
>>
>> On 10/17/2017 07:33 AM, Daniel Larsson wrote:
>>> Tom, did you figure this out? I am having the same problem. Also works in a fresh directory structure for me.
>>>
>>> Regards,
>>> Daniel
>>>
>>>
>>>> On 2017-08-17, at 21:53, Tom Laughlin <[log in to unmask]> wrote:
>>>>
>>>> Hello CCPEM!
>>>>
>>>> I ran into a problem where suddenly I could no longer display any .star files from a relion project directory without receiving "Error in textToFloat" (neither the gui nor relion_display work). I had been displaying the micrographs and performing 2D/3D classification the day before with no problems.
>>>>
>>>> If I used the micrographs_ctf.star file as input to Manual Picking, it displayed the micrographs, ctf image, and DefocusU value correctly.
>>>> Any other job-types were met with errors.
>>>>
>>>> I made a new project directory and imported the micrographs_ctf.star file, which now display without error.
>>>>
>>>> Does anyone know what the cause(s) of "Error in textToFloat" errors are? Is a pipeline file being corrupted?
>>>>
>>>> It would be great to know how to avoid them!
>>>>
>>>> Thanks,
>>>>
>>>> -Tom
>>
>> --
>> Sjors Scheres
>> MRC Laboratory of Molecular Biology
>> Francis Crick Avenue, Cambridge Biomedical Campus
>> Cambridge CB2 0QH, U.K.
>> tel: +44 (0)1223 267061
>> http://www2.mrc-lmb.cam.ac.uk/groups/scheres
>>
|