Advertisement
UF6

Untitled

UF6
Mar 16th, 2021
934
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1. dir = '/work/07422/tg867218/stampede2/test'
  2. for file in os.listdir(dir):
  3.     if file.endswith("_z1.dat"):
  4.         with open(dir + "/" + file) as ab:
  5.                 file = os.listdir('_z1.dat')
  6. for file in files:
  7.         if files.strip()[0].isdigit():#This seperates the files be useful data abd splits off anything that is not
  8.                 cols = files.strip().split()
  9. abundance = f.readlines()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement