Skip to content
Snippets Groups Projects
Commit df44ff8d authored by tomrink's avatar tomrink
Browse files

snapshot...

parent c9f34bac
No related branches found
No related tags found
No related merge requests found
...@@ -16,11 +16,12 @@ def run_all(directory): ...@@ -16,11 +16,12 @@ def run_all(directory):
img_tiles = [] img_tiles = []
for idx, mfile in enumerate(mod_files): for idx, mfile in enumerate(mod_files):
if idx % 2 == 0: if idx % 8 == 0:
w_o_ext, ext = os.path.splitext(mfile) w_o_ext, ext = os.path.splitext(mfile)
ifile = w_o_ext+'.highres'+ext ifile = w_o_ext+'.highres'+ext
if not os.path.exists(ifile): if not os.path.exists(ifile):
continue continue
print(mfile)
run(mfile, ifile, mod_tiles, img_tiles) run(mfile, ifile, mod_tiles, img_tiles)
mod_nda = np.stack(mod_tiles) mod_nda = np.stack(mod_tiles)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment