Skip to content

Commit

Permalink
repair bug ctffind_runner for SPA
Browse files Browse the repository at this point in the history
  • Loading branch information
scheres committed Sep 23, 2023
1 parent f3ca8e9 commit 270c778
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/jaz/tomography/tomogram_set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ bool TomogramSet::read(FileName filename, bool verbose)
globalTable.read(filename, "global");
globalTable.setName("global");

const int tc = globalTable.numberOfObjects();
tomogramTables.resize(tc);
if (tc == 0) return false;

if (!globalTable.containsLabel(EMDL_TOMO_NAME))
{
REPORT_ERROR("ERROR: input starfile for TomogramSet " + filename + " does not contain rlnTomoName label ");
}

const int tc = globalTable.numberOfObjects();
tomogramTables.resize(tc);
if (tc == 0) return false;

if (!globalTable.containsLabel(EMDL_TOMO_TILT_SERIES_STARFILE))
{
if (verbose) std::cerr << "Warning: " << filename
Expand Down

0 comments on commit 270c778

Please sign in to comment.