Gain reference file

Dear Developers,

I noticed that once I “touch” a gain reference file, with any other program (copying, or rotating with RELION or EMAN2), then a field gets filled out in the header which is

MRC.label0:

Once cryosparc encounters an mrc file with this field, there is a failure in reading the headers.

Sincerely, Phil Baldwin

Hi @prbprb2,

Thanks for reporting. Is it possible if you can post the error message you received?

License is valid.

Running job on master node

[CPU: 95.0 MB]   Project P1 Job J4 Started

[CPU: 95.0 MB]   Master running v2.14.2, worker running v2.14.2

[CPU: 95.1 MB]   Running on lane default

[CPU: 95.1 MB]   Resources allocated: 

[CPU: 95.1 MB]     Worker:  photon.salk.edu

[CPU: 95.1 MB]   --------------------------------------------------------------

[CPU: 95.1 MB]   Importing job module for job type import_movies...

[CPU: 199.6 MB]  Job ready to run

[CPU: 199.6 MB]  ***************************************************************

[CPU: 199.7 MB]  Importing movies from /mnt/md0/PRB/Uncompressed/*mrc

[CPU: 199.7 MB]  Importing 210 files

[CPU: 199.8 MB]  Import paths were unique at level -1

[CPU: 199.8 MB]  Importing 211 files

[CPU: 199.8 MB]  Reading headers of each input file...

[CPU: 199.8 MB]  Reading headers of gain reference file /mnt/md0/PRB/Gain/19oct18a_18123522_01_3838x3710_norm_0_transpose.mrc

[CPU: 199.9 MB]  Traceback (most recent call last):
  File "cryosparc2_master/cryosparc2_compute/run.py", line 82, in cryosparc2_compute.run.main
  File "cryosparc2_compute/jobs/imports/run.py", line 589, in run_import_movies_or_micrographs
    exposures.data['gain_ref_blob/rotate_num'] = params['gainref_rotate_num']
  File "cryosparc2_compute/dataset.py", line 66, in __setitem__
    super(Data, self).__getitem__(name)[:] = value
TypeError: long() argument must be a string or a number, not 'NoneType'