Skip to content

Commit

Permalink
[frames_from_files] removed progress bar (markovmodel#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
marscher authored Jun 24, 2016
1 parent ca1bdf2 commit 715db46
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pyemma/coordinates/data/util/frames_from_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import mdtraj as md
import numpy as np

from pyemma._base.progress import ProgressReporter
from pyemma.coordinates import source
from pyemma.coordinates.data import FeatureReader
from pyemma.coordinates.data.fragmented_trajectory_reader import FragmentedTrajectoryReader
Expand Down Expand Up @@ -123,14 +122,10 @@ def frames_from_files(files, top, frames, chunksize=1000, stride=1, verbose=Fals
_r._return_traj_obj = True

it = reader.iterator(chunk=chunksize, stride=sorted_inds, return_trajindex=False)
reporter = ProgressReporter()
reporter._progress_register(it._n_chunks, description="collecting frames")
collected_frames = []
with it:
for x in it:
collected_frames.append(x)
reporter._progress_update(1)
reporter._progress_force_finish()

dest = _preallocate_empty_trajectory(top, len(frames))
i = 0
Expand Down

0 comments on commit 715db46

Please sign in to comment.