2b4dfea5674a6b6b4d6556d7546a387f41f947fa,tools/colorize_tifs.py,,,#,86
Before Change
if not os.path.exists(path_out_dir):
os.makedirs(path_out_dir)
paths_sources = [os.path.join(opts.path_source_dir, i) for i in os.listdir(opts.path_source_dir) if i.lower().endswith(".tif")]
paths_sources.sort()
for path in paths_sources:
path_source_basename = os.path.basename(path)
After Change
val_range = None
for tag in (tags_to_colors_map if opts.tags is None else opts.tags):
pos = path_source_basename.find(tag)
if pos >= 0:
if pos > last_pos:
last_pos = pos
hue_sat = tags_to_colors_map[tag]
val_range = tags_to_val_ranges_map[tag]
if val_range is None:
print("could not find tag for:", path)
print(" skipping....")
continue
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 6
Instances
Project Name: AllenCellModeling/pytorch_fnet
Commit Name: 2b4dfea5674a6b6b4d6556d7546a387f41f947fa
Time: 2017-11-10
Author: chek.o@outlook.com
File Name: tools/colorize_tifs.py
Class Name:
Method Name:
Project Name: cryoem/eman2
Commit Name: c96c6b31dc37518b7cb5a2d8af59a8f33b813f9b
Time: 2021-02-18
Author: sludtke42@gmail.com
File Name: programs/e2refine2d_bispec.py
Class Name:
Method Name: main
Project Name: pantsbuild/pants
Commit Name: e63d4aed345e9b29081e0361d30ea6b9d8fa24c8
Time: 2016-04-27
Author: yujieproject@gmail.com
File Name: src/python/pants/base/scm_project_tree.py
Class Name: ScmProjectTree
Method Name: glob1
Project Name: pantsbuild/pants
Commit Name: c5d68be852b280323a1a2176905a16b5858efdcf
Time: 2016-04-26
Author: yujieproject@gmail.com
File Name: src/python/pants/base/scm_project_tree.py
Class Name: ScmProjectTree
Method Name: glob1
Project Name: pantsbuild/pants
Commit Name: 1dd8207434f24b6d10685188c52ef5840c4b34bb
Time: 2019-02-27
Author: nh@baroquebobcat.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/rsc/rsc_compile.py
Class Name: RscCompile
Method Name: register_extra_products_from_contexts