From a8b58d3f794c923f7e02fe1d8f50d686e7bc5428 Mon Sep 17 00:00:00 2001 From: efischer Date: Thu, 24 Feb 2022 12:38:15 -0600 Subject: [PATCH] Output new setting when changing options --- src/main/java/BiGpairSEQ.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/main/java/BiGpairSEQ.java b/src/main/java/BiGpairSEQ.java index 3a6ed6d..0e327e4 100644 --- a/src/main/java/BiGpairSEQ.java +++ b/src/main/java/BiGpairSEQ.java @@ -46,6 +46,8 @@ public class BiGpairSEQ { cellSampleInMemory = null; cellFilename = null; System.gc(); + System.out.println("Cell sample file cache cleared."); + } public static String getCellFilename() { @@ -69,6 +71,8 @@ public class BiGpairSEQ { plateInMemory = null; plateFilename = null; System.gc(); + System.out.println("Sample plate file cache cleared."); + } public static String getPlateFilename() { @@ -92,6 +96,7 @@ public class BiGpairSEQ { graphInMemory = null; graphFilename = null; System.gc(); + System.out.println("Graph and data file cache cleared."); } public static String getGraphFilename() { @@ -107,6 +112,10 @@ public class BiGpairSEQ { //if not caching, clear the memory if(!cacheCells){ BiGpairSEQ.clearCellSampleInMemory(); + System.out.println("Cell sample file caching: OFF."); + } + else { + System.out.println("Cell sample file caching: ON."); } BiGpairSEQ.cacheCells = cacheCells; } @@ -119,6 +128,10 @@ public class BiGpairSEQ { //if not caching, clear the memory if(!cachePlate) { BiGpairSEQ.clearPlateInMemory(); + System.out.println("Sample plate file caching: OFF."); + } + else { + System.out.println("Sample plate file caching: ON."); } BiGpairSEQ.cachePlate = cachePlate; } @@ -131,6 +144,10 @@ public class BiGpairSEQ { //if not caching, clear the memory if(!cacheGraph) { BiGpairSEQ.clearGraphInMemory(); + System.out.println("Graph/data file caching: OFF."); + } + else { + System.out.println("Graph/data file caching: ON."); } BiGpairSEQ.cacheGraph = cacheGraph; }