Skip to content

Commit 9d5374e

Browse files
authored
Apply suggestion from @zlmarshall
Whoopsie
1 parent 4157cbd commit 9d5374e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

13-TeV-examples/pyroot/ATLAS_OpenData_13_TeV_analysis_example_python_Hyy_channel.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
"# Now we'll loop through all the events, keeping the event number in mind\n",
190190
"for n,event in enumerate(chain):\n",
191191
" # Check if we should stop\n",
192-
" if n>stop_early:\n",
192+
" if n>stop_early and stop_early>0:\n",
193193
" break\n",
194194
" # Print the number of events we have processed so far\n",
195195
" if n%10000==0:\n",

0 commit comments

Comments
 (0)