Skip to content

Commit

Permalink
Changed number of characters in image names. v2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dukovski committed Aug 21, 2014
1 parent 42482a9 commit 9cfb607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions comets_simplified/src/edu/bu/segrelab/comets/Comets.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public class Comets implements CometsConstants,
* by each cell just runs through a diffusion routine.
*/
public static boolean DIFFUSION_TEST_MODE = false;
private String versionString = "2.2.0, 3 September 2014";
private String versionString = "2.2.1, 16 September 2014";

// The setup pane
private CometsSimRunner runner;
Expand Down Expand Up @@ -523,7 +523,7 @@ public void takeSlideshowScreenshot(int curCycle)
try
{
//image.setRGB(0, 0, widthPixels, heightPixels, pixels, 0, 1);
String imageNum = String.format("%03d", curCycle);
String imageNum = String.format("%05d", curCycle);
ImageIO.write(image, cParams.getSlideshowExt(), new File(cParams.getSlideshowName() + "_" + imageNum + "." + cParams.getSlideshowExt()));
}
catch (IOException e)
Expand Down

0 comments on commit 9cfb607

Please sign in to comment.