Output new setting when changing options
This commit is contained in:
@@ -46,6 +46,8 @@ public class BiGpairSEQ {
|
|||||||
cellSampleInMemory = null;
|
cellSampleInMemory = null;
|
||||||
cellFilename = null;
|
cellFilename = null;
|
||||||
System.gc();
|
System.gc();
|
||||||
|
System.out.println("Cell sample file cache cleared.");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getCellFilename() {
|
public static String getCellFilename() {
|
||||||
@@ -69,6 +71,8 @@ public class BiGpairSEQ {
|
|||||||
plateInMemory = null;
|
plateInMemory = null;
|
||||||
plateFilename = null;
|
plateFilename = null;
|
||||||
System.gc();
|
System.gc();
|
||||||
|
System.out.println("Sample plate file cache cleared.");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getPlateFilename() {
|
public static String getPlateFilename() {
|
||||||
@@ -92,6 +96,7 @@ public class BiGpairSEQ {
|
|||||||
graphInMemory = null;
|
graphInMemory = null;
|
||||||
graphFilename = null;
|
graphFilename = null;
|
||||||
System.gc();
|
System.gc();
|
||||||
|
System.out.println("Graph and data file cache cleared.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getGraphFilename() {
|
public static String getGraphFilename() {
|
||||||
@@ -107,6 +112,10 @@ public class BiGpairSEQ {
|
|||||||
//if not caching, clear the memory
|
//if not caching, clear the memory
|
||||||
if(!cacheCells){
|
if(!cacheCells){
|
||||||
BiGpairSEQ.clearCellSampleInMemory();
|
BiGpairSEQ.clearCellSampleInMemory();
|
||||||
|
System.out.println("Cell sample file caching: OFF.");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
System.out.println("Cell sample file caching: ON.");
|
||||||
}
|
}
|
||||||
BiGpairSEQ.cacheCells = cacheCells;
|
BiGpairSEQ.cacheCells = cacheCells;
|
||||||
}
|
}
|
||||||
@@ -119,6 +128,10 @@ public class BiGpairSEQ {
|
|||||||
//if not caching, clear the memory
|
//if not caching, clear the memory
|
||||||
if(!cachePlate) {
|
if(!cachePlate) {
|
||||||
BiGpairSEQ.clearPlateInMemory();
|
BiGpairSEQ.clearPlateInMemory();
|
||||||
|
System.out.println("Sample plate file caching: OFF.");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
System.out.println("Sample plate file caching: ON.");
|
||||||
}
|
}
|
||||||
BiGpairSEQ.cachePlate = cachePlate;
|
BiGpairSEQ.cachePlate = cachePlate;
|
||||||
}
|
}
|
||||||
@@ -131,6 +144,10 @@ public class BiGpairSEQ {
|
|||||||
//if not caching, clear the memory
|
//if not caching, clear the memory
|
||||||
if(!cacheGraph) {
|
if(!cacheGraph) {
|
||||||
BiGpairSEQ.clearGraphInMemory();
|
BiGpairSEQ.clearGraphInMemory();
|
||||||
|
System.out.println("Graph/data file caching: OFF.");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
System.out.println("Graph/data file caching: ON.");
|
||||||
}
|
}
|
||||||
BiGpairSEQ.cacheGraph = cacheGraph;
|
BiGpairSEQ.cacheGraph = cacheGraph;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user