Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. </Attributes>
  2. FovCount,555
  3. FovCounted,536
  4. ScanID,1803C0555
  5.  
  6. BindingDensity,0.51
  7.  
  8. def QC(file):
  9. with open(file) as f:
  10. for line in f.split(","):
  11. if line.startswith("FovCount"):
  12. FC = line[1]
  13. elif line.startswith("FovCounted"):
  14. FCed = line[1]
  15. criteria = FC/FCed
  16. elif line.startswith("BindingDensity"):
  17. BD = line[1]
  18. return [criteria, BD]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement