Skip to content

Commit

Permalink
force the alphanumeric sorting of the tif files
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Perez Meza committed Oct 30, 2024
1 parent fad9d8f commit c7ca74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macsima2mc/mc_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def get_patterns():
#file[key]=flatten_list( [ m.split('__') for m in extract_values( tup[0] , file_names,number_cast=tup[1] )] )

def write_markers_file( data_path, ref_marker='DAPI'):
img_paths=list( data_path.glob('*.tif*') )
img_paths=list( sorted( data_path.glob('*.tif*') ) )
mks_file=markers_file()
patt=get_patterns()

Expand Down

0 comments on commit c7ca74f

Please sign in to comment.