Closed JorMaister closed 7 months ago
Hi, could you give a summary of what is being fixed here? Did we have dose information wrong during import?
Okay, after more reading I see that we had initialDose = 0 for all tilt images.
Sure, @azazellochg!
Brilliant, thank you @JorMaister . I've run an import on my movies and acq looks correct! The only thing I noticed is: [ FAILED ] TestTomoImportTsFromMdoc.test_mdocFileCheckerRealOk I don't know if that's expected to fail..
Tests are passing on my side, @azazellochg. What's the error you got?
[ FAILED ] TestTomoImportTsFromMdoc.test_mdocFileCheckerRealOk
Traceback (most recent call last): File "/public/EM/Scipion/miniconda3/envs/scipion3/lib/python3.8/unittest/case.py", line 60, in testPartExecutor yield File "/public/EM/Scipion/miniconda3/envs/scipion3/lib/python3.8/unittest/case.py", line 676, in run self._callTestMethod(testMethod) File "/public/EM/Scipion/miniconda3/envs/scipion3/lib/python3.8/unittest/case.py", line 633, in _callTestMethod method() File "/public/EM/Scipion/scipion-dev/scipion-em-plugins/scipion-em-tomo/tomo/tests/test_import.py", line 970, in test_mdocFileCheckerRealOk self._checkMDocParsingErrorMsg(mdocList, expectedErrorKeyWordList) File "/public/EM/Scipion/scipion-dev/scipion-em-plugins/scipion-em-tomo/tomo/tests/test_import.py", line 1034, in _checkMDocParsingErrorMsg self.assertTrue(not errorMsg, "There are errors unexpected when validating the Mdocs: %s" % errorMsg) File "/public/EM/Scipion/miniconda3/envs/scipion3/lib/python3.8/unittest/case.py", line 765, in assertTrue raise self.failureException(msg) AssertionError: False is not true : There are errors unexpected when validating the Mdocs: /public/EM/Scipion/scipion-dev/data/tests/tomo-em/ts_tsM_and_mdocs/mdocs/realFromEmpiar/complete/TS-G8-box7-015.mrc.mdoc is missing:
It seems a validation error, like if the mdoc does not contain the data required to calculate the dose... Is the corresponding test dataset up to date?
You were right, I have removed the offending mdoc and the manifest, after regeneration that it's all working!
Quality Gate passed
Issues
2 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
See analysis details on SonarCloud