Skip to content

Commit 06ae56e

Browse files
committed
fixed logger typo
1 parent c7292d5 commit 06ae56e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

hexrd/findorientations.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -432,14 +432,17 @@ def load_eta_ome_maps(cfg, pd, image_series, hkls=None, clean=False):
432432
+ "and clean option specified; "
433433
+ "recomputing eta/ome orientation maps",
434434
fn)
435-
return generate_eta_ome_maps(cfg, pd, image_series, hkls)
435+
return generate_eta_ome_maps(cfg, hkls=hkls)
436436
else:
437437
logger.info('clean option specified; '
438438
+ 'recomputing eta/ome orientation maps')
439-
return generate_eta_ome_maps(cfg, pd, image_series, hkls)
439+
return generate_eta_ome_maps(cfg, hkls=hkls)
440440

441441

442442
def generate_eta_ome_maps(cfg, hkls=None):
443+
"""
444+
Generates the eta-omega maps specified in the input config.
445+
"""
443446
# extract PlaneData from config and set active hkls
444447
plane_data = cfg.material.plane_data
445448

@@ -748,7 +751,7 @@ def find_orientations(cfg,
748751

749752
logger.info("\t\t...took %f seconds", (timeit.default_timer() - start))
750753
logger.info("\tfound %d grains; saved to file: '%s'",
751-
(qbar.shape[1], qbar_filename))
754+
qbar.shape[1], qbar_filename)
752755

753756
np.savetxt(qbar_filename, qbar.T,
754757
fmt='%.18e', delimiter='\t')

0 commit comments

Comments
 (0)