fix:修改文件地址拼接问题
This commit is contained in:
parent
59d73089f0
commit
9eeb36b105
|
@ -549,7 +549,7 @@ public class SelfBaseUtil extends AbstractLogOrReport {
|
||||||
* @param g_counts ROI卡出来的Gamma数据
|
* @param g_counts ROI卡出来的Gamma数据
|
||||||
*/
|
*/
|
||||||
public static void createGammaFile(String pathName,String fileName, EnergySpectrumStruct struct, List<Long> g_counts) {
|
public static void createGammaFile(String pathName,String fileName, EnergySpectrumStruct struct, List<Long> g_counts) {
|
||||||
File file = new File(pathName + "\\" + fileName);
|
File file = new File(pathName + File.separator + fileName);
|
||||||
// 创建PrintWriter对象
|
// 创建PrintWriter对象
|
||||||
PrintWriter out = null;
|
PrintWriter out = null;
|
||||||
DecimalFormat decimalFormat = new DecimalFormat("0.000000");
|
DecimalFormat decimalFormat = new DecimalFormat("0.000000");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user