Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def read_frame(file, frame, position, orientation):
pos_chunk = gsd.libgsd.gsd_find_chunk(file, frame, "position");
gsd.libgsd.gsd_read_chunk(file, position, pos_chunk);
orientation_chunk = gsd.libgsd.gsd_find_chunk(file, frame, "orientation");
gsd.libgsd.gsd_read_chunk(file, orientation, orientation_chunk);
def read_frame(file, frame, position, orientation):
pos_chunk = gsd.libgsd.gsd_find_chunk(file, frame, "position");
gsd.libgsd.gsd_read_chunk(file, position, pos_chunk);
orientation_chunk = gsd.libgsd.gsd_find_chunk(file, frame, "orientation");
gsd.libgsd.gsd_read_chunk(file, orientation, orientation_chunk);